Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default font name and size for UIPickerview picker values in iOS 7 and iOS 6

How to get the default font name and size for UIPickerview picker values in iOS 7 and iOS 6.

like image 658
sehaswaran Avatar asked Apr 17 '14 05:04

sehaswaran


2 Answers

On iOS 10.3, iPhone and iPad, the default UIPickerView font is:

font-family: ".SFUIDisplay"; font-weight: normal; font-style: normal; font-size: 21.00pt

like image 90
kelin Avatar answered Oct 13 '22 00:10

kelin


On iOS 12 the font used for the centered component as displayed seems to be San Francisco Display (SystemFont) with weight Regular and size 23.5.

enter image description here

like image 26
Ben Packard Avatar answered Oct 13 '22 01:10

Ben Packard