简体   繁体   中英

What is the standard font and size for iPhone navigation title?

Could anybody tell me please, what is the standard font and size for iPhone development?

Thanks in advance.

Helvetica Bold, size 20.

To obtain it you can use this convenience method in case Apple ever decides to change the font face:

UIFont *navigationTitleFont = [UIFont boldSystemFontOfSize:20.0f];

According to Apple documents,

Text in a navigation controller uses the same font size that body style text uses for the large setting (specifically, 17 points).

So, I think is System (Helvetica Neue) Bold 17.

Source: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/ColorImagesText.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM