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

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 42. Challenge: View Modifiers Next episode: 44. Adding an About Page

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:

  1. Open Assets.xcassets.
  2. Select the Button image.
  3. In the inspector, under ImageSet, set Render As to Original Image.

For more details, see the forum discussion.