No IBOutlet in TVOS?

Hi,

I've been trying to use a basic button on my app and am using the IBOutlet command. When I click on it, the action doesn't fire. Do I need to use another command just for a button click?


Thanks,

Dan Uff

Replies

Well, an IBOutlet only lets you access and change the button, it doesn't actually set up an action. For that you'd need to set up an IBAction. Also, for the action type use primaryAction rather than touchUpInsude, which was commonly used in iOS.

Thank you.