I can set the background image in the Interface Storyboard to a huge collection of system templates (see screenshot). Is there any access to those templates by code?
I have an outlet to the button:
@IBOutlet weak var button1: WKInterfaceButton!
Now I found three possible functions:
- button1.setBackgroundImage(UIImage?)
- button1.setBackgroundImageData(Data?)
- button1.setBackgroundImageNamed(String?)
I managed it to change the background image of the button to one of my own images (sample.png), but is there any way to address the system templates?
Thank you.
All the best, Stephan