In a WatchKit storyboard, if you add a WKInterfaceObject (e.g. WKInterfaceGroup), you have the following height and width options:
- Size To Fit Content
- Relative to Container (value and Adjustment)
- Fixed (value)
In the WKInterfaceObject header, there is only one property associated with height:
func setHeight(height: CGFloat)
... in the documentation it states:
Sets the absolute height (in points) of the object.
This looks like it corresponds with option #3 (fixed value).
How do I choose any of the other 2 options programmatically (e.g. what if I want to change the size to "Relative to container")?