There is an updated version of this course available, created for Swift 5.5, iOS 15, Xcode 13. View Latest Version
Your First iOS and SwiftUI App
Part 5: Styling the App Styling the Buttons and Slider
— iOS & Swift

Lesson Complete

Play Next Lesson

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.

Learn how to customize the buttons and sliders in the app so they look nice.