UILabel font size auto adjustment iOS UIKit Swift

Channel Avatar
Comment
X
Share
UILabel font size auto adjustment iOS UIKit Swift
UILabel font size auto adjustment iOS UIKit Swift
This is a quick example I made to show how font size adjustments can be handled automatically on iOS using UIKit.

The highlighted background shows the size of the UILabel text element. I’ll see if I can make a better video for this to show some code, though this is from quite awhile ago now, so I may have to remake it.

Written with Xcode, in Swift, for iOS. All UIKit. SwiftUI didn’t exist at the time.

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: UIKit, UILabel, dynamic font size, variable font size

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *