Button styles, border shapes, and control sizes in SwiftUI on iOS 15 Bootcamp #57
Let’s take a look at a few more view modifiers Apple has provided us in iOS 15 for SwiftUI. Specifically, we are looking at modifiers that help us to size and shape Buttons in our SwiftUI applications. In this video we will learn how to use new .buttonStyle to add pre-made backgrounds to our buttons. We will also learn how to use the .buttonBorderShape to control the shape and corner radius of the button. Lastly, we will look at the new .controlSize modifier which can help us automatically resize our Buttons to a pre-set sizes!
Take the opportunity to connect and share this video with your friends and family if you find it useful.
Keywords: SwiftUI Button, SwiftUI ButtonStyle, SwiftUI buttonStyle, SwiftUI .buttonStyle, SwiftUI .buttonBorderShape, SwiftUI button border, SwiftUI button shape, SwiftUI Control Size, SwiftUI .controlSize, controlSize, buttonBorderShape, buttonStyle, SwiftUI iOS 15