user1615898
user1615898

Reputation: 1233

Does touchesBegan work in tvOS?

Can someone confirm that touchesBegan and other touches related events do not work in tvOS? Should we use pressedBegan instead? The problem is I want touch detection in the touchpad and pressedBegan is not invoked when someone touches the center of the touchpad.

Upvotes: 1

Views: 324

Answers (1)

FractalDoctor
FractalDoctor

Reputation: 2546

Presses refer to button presses and not to the touchpad.

Touches do exist (for the touchpad) but they're 'indirect' and have no actual location - well they have a location but that's assumed to be in the centre of the current view and any movement you make is judged relative to that.

More information here.

Upvotes: 2

Related Questions