Reputation: 1535
Here is a screenshot of my toolbar. I want to set the text in center. It is displaying not in center.
Upvotes: 0
Views: 235
Reputation: 323
for navigationbar you can use
[[UINavigationBar appearance] setTitleVerticalPositionAdjustment:-20 forBarMetrics:UIBarMetricsDefault];
in the viewDidLoad of your controller.
For the toolbar you can create a customview with button and place it wherever you want with a CGRect.
Upvotes: 1