2

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

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

Atma
  • 29,141
  • 56
  • 198
  • 299

1 Answers1

4

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

Justin Domnitz
  • 3,217
  • 27
  • 34
  • This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](http://stackoverflow.com/questions/ask). You can also [add a bounty](http://stackoverflow.com/help/privileges/set-bounties) to draw more attention to this question. – Erik Kaplun Oct 02 '15 at 19:02
  • Thanks, Erik. I will ask as a question. – Justin Domnitz Oct 02 '15 at 20:19
  • sorry, that was an automated comment not me. it also seems it was invalid. – Erik Kaplun Oct 03 '15 at 07:05