In iOS devices it is possible to set Large Text in the Accessibility Settings. The user can specify different font sizes here. I would like to use this font size in my app as well. I haven't found anything about accessing this font size in my app in the Accessibility Program Guide. It only mentions that the standard Apple apps Mail, Contacts, Calendars etc are using it. Does anyone know if this information is accessible when developing an app?
The static -FontSize methods of UIFont also do not return different values when the Large Text feature is set.
(NOTE: Not to be confused with iOS 7's new Dynamic Type. This is a different, older option under the Accessibility settings.)
To make your font size smaller or larger: On your device, open the Settings app. Search and select Font size. To change your preferred font size, move the slider left or right.
Go to Settings > Accessibility > Zoom, then turn on Zoom. Adjust any of the following: Follow Focus: Track your selections, the text insertion point, and your typing. Smart Typing: Switch to Window Zoom when a keyboard appears.
The aim of this post is to explain to sighted people how to set up voice control on Apple iPhones for friends or family who are visually impaired or blind. The two main tools for using your phone with voice are VoiceOver which reads the screen and options and the newer Siri voice commands.
Go to Settings > Accessibility, then select Display & Text Size. Tap Larger Text for larger font options. Drag the slider to select the font size you want.
It's not accessible using documented APIs.
Just for fun though: (do not use in a real app, it will probably get you rejected from the store)
It's stored under com.apple.Accessibility.plist
, key preferredFontSize
MobileNotes.app (and presumably the others) get it using the function
extern float _UIAccessibilityLargeTextFontSize(float);
(it's so undocumented they made sure to start it with an underscore.)
Accessibility
settings is not accessible through iOS SDK. In iOS 7, you can support Dynamic Type, which allows you to set any font to the system font in the size defined by the user by calling +preferredFontWithTextStyle:
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With