dynamic fonts size
Asked on 2025-07-16
1 search
Dynamic font sizes are an important aspect of accessibility and user experience in app design. At WWDC 2024, Apple presented a session titled "Get started with Dynamic Type" that covers how to implement and optimize dynamic font sizes in your apps.
Dynamic Type allows users to choose their preferred text size, which can improve readability across different devices and orientations. By default, there are seven text sizes available, and enabling larger accessibility sizes adds five more options. Users can adjust these settings in the accessibility settings of their device.
To implement dynamic font sizes in your app, you can use system-provided text styles, which automatically adjust to the user's selected text size while maintaining the visual hierarchy of your content. In SwiftUI, you can use the font
modifier with a text style, and in UIKit, you can set the adjustsFontForContentSizeCategory
property on a UILabel
to true.
Testing your app with different text sizes is crucial to ensure that your layout adapts appropriately. Xcode previews and the Xcode debugger can help you identify and fix issues like clipped or truncated text.
For more detailed guidance, you can refer to the session Get started with Dynamic Type (00:01:03), which provides insights into scaling text, adjusting layouts, and ensuring a great user experience with dynamic type.

Get started with Dynamic Type
Dynamic Type lets people choose their preferred text size across the system and all of their apps. To help you get started supporting Dynamic Type, we’ll cover the fundamentals: How it works, how to find issues with scaling text in your app, and how to take practical steps using SwiftUI and UIKit to create a great Dynamic Type experience. We’ll also show how you can best use the Large Content Viewer to make navigation controls accessible to everyone.

Evaluate your app for Accessibility Nutrition Labels
Use Accessibility Nutrition Labels on your App Store product page to highlight the accessibility features supported by your app. You’ll learn how to evaluate your app’s accessibility features — such as VoiceOver, Larger Text, Captions, and more — and choose accurate and informative Accessibility Nutrition Labels. You’ll also find out how to approach accessibility throughout the design phase.

Say hello to the next generation of CarPlay design system
Explore the design system at the heart of the next generation of CarPlay that allows each automaker to express their vehicle’s character and brand. Learn how gauges, layouts, dynamic content, and more are deeply customizable and adaptable, allowing you to express your own design philosophy and create an iconic, tailored look. This session is intended for automakers, system developers, and anyone designing a system that supports the next generation of CarPlay.