iOS7 text size of navigation bar button - uinavigationbar

I converted app to iOS7 by Xcode5 GM.
And I noticed button's UI none-border also increasing font size for navigation bar button.
My question is, why increase font size of navigation bar button on ios7?
There has a rule something?

Related

Adjust Navigation Back Button iOS 13

I've noticed that the default, back button for view controllers embed in a navigation controller does not scale per device size. Is there anyway I'd be able to adjust the font size of the back button depending on the device size?
The back button is a bar button item. No bar button item will automatically "scale per device size". You are free to apply your own title text attributes to the back button, just as you would do for any other bar button item:
https://developer.apple.com/documentation/uikit/uibaritem/1616414-settitletextattributes
Note, however, that it is not usual to have different text sizes on difference devices, and users might be surprised by it.

IOS 11 navigation bar appears smaller than it should

I have a custom navigation bar that worked well until iOS 11. It appears smaller than it should and seems to ignore the status bar height or something.
I set the whole thing programmatically and the height is set to 64.
have you tried to disable (untick) safe area?

UIButton width not filling toolbar when run on simulator

I have a UIToolbar with a button in it. In the storyboard everything looks fine. The problem is when I run it on the simulator it doesn't look the same as on the storyboard.
(Note: It won't even let me add constraints to the button.)
In storyboard:
In simulator:
Bar button items do not size automatically, and the size you have set is for 4 inch and below device, because this is the default size in storyboards. However, you are running on an iPhone 6 simulator, thus the screen is wider, and the button does not fill the entire bar.
If you need to have the button fill the entire bar, you will have to do it in code, in viewDidLayout, changing the bar button item's width to that of the bar.

UITabBar Background image and bar item icon's size and position is strange in iOS 7

I embedded UITabBarViewController into UIViewController in storyboard and i customise the background of tab bar and icon of tab bar item. But they looked strange.Tab bar's height is doubled and icon size of tab bar item is a little big. I use iPhone 5c with OS iOS 7 to test.
Background image of tab bar is 640*98 px.Icon of tab bar item is 50*50 px.
Here is the reference image.
I solved the problem. Rename image with #2x.

How to increase the height of the navigation bar and change the vertical position of the title using xcode 5 (iOS7)?

I developed a simple app for iOS6 and now I'm to updating its appearence for iOS7. One of the first changes I would like to do concerns the navigation bar.
I'm using the standard navigation bar UI component that comes with xcode. While in iOS6 the navigation bar was clearly placed under the status bar (i.e. battery, carrier and hour), in iOS7 the navigation bar blends with the status bar.
My question is: how can I increase the height of the navigation bar and place the title vertically a little lower than the default position?
Currently I have this:
And the title is too close to the time. I would like to achieve this (standard Photos app that comes with iOS7):
here the title of the bar is lower and the bar is larger (or is just shifted down).
It have been trying to modify the height of the navigation bar through the size inspector but with no success.
It's probaly a very easy issue to solve, however I'm still new to xcode development and I can't figure it out.
Stick the view controller in a Navigation Controller, that should immediately solve the problem

Resources