How do I resize a view in SwiftUI?

SwiftUI’s scaleEffect() modifier lets us increase or decrease the size of a view freely . That makes the text view twice its regular size, scaled from the bottom-right corner. Tip: Scaling up a view won’t cause it to be redrawn at its new size, only stretched up or down.

Sizin İçin Seçtik  What is Udemy valuation?

Leave a Reply

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