IOS 11+, Swift 4+, Tutorial : How To Scale text label font size by screen size ( .font .withSize )

Опубликовано: 29 Июль 2026
на канале: Soonin Coding Challenge
8,295
43

Welcome to Scale text label by screen size iOS Tutorial !
Level : Beginners

This tutorial we learn a way to scale text so that it takes up close to the same screen real estate no matter what the device size is. This tutorial is made with Xcode 9 and built for iOS 11.


You will be using withSize , self.view.frame.height , view.frame.height , frame.height, CGFloat and understand how to scale font by screen size by Xcode.

I 'll all show you various ways to implementing it.

This Project Source Code :
GitHub : https://github.com/soonin/IOS-Swift-S...
licensed under Creative Commons


::::: ATTN :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Also For better search in Youtube channel you can go to "SwiftVillage" Blog here :
Blog : http://swiftvillage.blogspot.com/
Instagram :   / codingchallenge  
Twitter :   / swiftvillage1  
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


Wish the Best For you :)

IOS, Swift, Tutorial, Tricks, programmatically , Xcode , IOS 11+, Swift 4+, Beginners, Tutorial , intermediate , senior , IOS 11, Swift 4,
withSize , self.view.frame.height , view.frame.height , frame.height, CGFloat



References & Related links :
• https://developer.apple.com/