简体   繁体   中英

iPhone OpenGL-ES : UISwipeGestureRecognizer

Do UISwipeGestureRecognizer work in OpenGL. I know its a odd thing to ask but I have just added them to my project like I have to other projects and well its not working. Its not firing the events.

Sure, you can add a gesture recognizer to any view. The view does not care if it's OpenGL or something else that's being rendered in it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM