Reputation: 4115
I have created a OpenGL view with 6 different objects. Is there a way to make these objects clickable and call a method as any other UIControl in iOS?
If so how is this done?
Upvotes: 1
Views: 601
Reputation: 7513
This has been answered before on SO:
iphone-opengl-es-detecting-if-you-have-tapped-a-object-cube-on-screen
iphone-openggl-es-detecting-clicks-on-a-primitive
I got to these by googling "ios openGL ES click on object"
Upvotes: 2