setHidden(_:)
Hides or shows the interface object in your user interface.
Declaration
func setHidden(_ hidden: Bool)Parameters
Mentioned in
Discussion
When you hide or show an object in your interface, WatchKit makes a note to update the layout during the next refresh cycle. During that cycle, WatchKit adjusts the layout to display only the currently visible objects.
See Also
Related Documentation
- App Programming Guide for watchOS