开发者

How to increase the titelBar Height?

开发者 https://www.devze.com 2023-03-04 15:20 出处:网络
How can I increase开发者_运维问答 the height of a titleBar ?Completely untested, but it should work like this: In your UIViewController\'s viewDidLoad method, do this:

How can I increase开发者_运维问答 the height of a titleBar ?


Completely untested, but it should work like this: In your UIViewController's viewDidLoad method, do this:

CGRect frame = self.navigationController.navigationBar.frame;
frame.size.height = 123;
[self.navigationController.navigationBar setFrame:frame];

Edit: According to this SO question it looks like you cannot change the height of a UINavigationBar at all.

0

精彩评论

暂无评论...
验证码 换一张
取 消