Your First iOS and SwiftUI App
Sep 3 2019 · Swift 5, iOS 13, Xcode 11
Part 5: Styling the App
43. Styling the Buttons and Slider
Notes: 43. Styling the Buttons and Slider
Update 10/30/19: In Xcode 11.1, by default Xcode will not render the background image for the button as shown. However there is a simple workaround:
- Open Assets.xcassets.
- Select the Button image.
- In the inspector, under ImageSet, set Render As to Original Image.
For more details, see the forum discussion.