Custom Size dynamic type in SwiftUI

Опубликовано: 17 Май 2026
на канале: AF Swift Tutorials
1,115
25

This episode is gonna be about dynamic type in SwiftUI.

Dynamic Type is a feature in iOS that allows users to customize the size of text displayed on their device, making it more accessible and comfortable to read. It's an important accessibility feature that helps users with different visual needs and preferences. Dynamic Type ensures that text in apps can adapt to the user's chosen text size settings.

To support Dynamic Type in your iOS app, you should use these predefined text styles rather than hardcoding font sizes. By using text styles, your app's text will adjust automatically. But what if you need a font of specific size other than text styles offer but at the same time you wanna have it dynamic? Let's find out!

MORE VIDEOS
iOS Tutorials ► https://cutt.ly/RvqPLEj
iOS Interview ► https://cutt.ly/iOS-Interview
Data Structures ► https://cutt.ly/PLOhX8V
Design Patterns ► https://cutt.ly/2LOjwrY
Coding Challenges ► https://cutt.ly/Rwgu74Fa

LINKS & ATTRIBUTIONS
Source Code ► https://github.com/Andrew11US/AF-Swif...

TIMECODES
00:00 - Intro
01:12 - Font Style
02:05 - Font extensions
02:48 - Custom size text
03:31 - Scaled font view modifier
05:03 - Dynamic size restriction
05:30 - Outro

#AFSwiftTutorials #dynamictype #programmingskills