Reputation: 9629
iOS 7 and later allows a user to specify text size in Settings/Display & Brightness/Text Size. I don't see, or have yet to discover, how to change this in the iOS 7/8 Sim to test my app. Is it possible? If so, how/where is it done?
Thank you
Upvotes: 22
Views: 13576
Reputation: 14329
Xcode 14 onwards
Simulator ► Accessibility ► Display & Text Size ► Larger Text ► Select Font.
As Explained here
https://janeshswift.com/ios/swiftui/how-to-change-text-size-in-an-ios-simulator/
If you wish to chose font for SwiftUI Preview Select device setting from bottom preview tab.
Xcode 9.0 onwards
You can resize font of simulator as -
Xcode ► Open developer tool ► Open accessibility inspector
Select simulator from dropdown after that click setting(Gear) icon.
Upvotes: 32
Reputation: 2285
The Accessibility Inspector (Xcode/Open Developer Tools/Accessibility Inspector in Xcode 8) as mentioned here is a great tool for testing Dynamic Fonts and accessibility in general. The WWDC 2016 video on is is well worth a watch.
Upvotes: 1
Reputation: 15400
If you prefer an automatic approach to set this, see this question: How to test Dynamic Type (larger font sizes) in iOS Simulator
Upvotes: 1
Reputation: 804
In the simulator, go into settings (Choose "Home" on the hardware menu). Then General->Accessibility->Larger text. You also should slide the switch at the top to "Larger Accessibility Sizes". You'll then get a slider to adjust the text size. Hope this helps.
Upvotes: 34