watchkitwkinterfacebutton

how to hide WKInterfaceButton in watchkit


Does anyone know how I can programmatically hide a WKInterfaceButton in watchkit?

There doesn't seem to be a setHidden interface like a uibutton.


Solution

  • As mp states, wkinterfacebutton's have a setHidden method for setting the method to true or false.