I would like to develop a swipe up navigation just like, 1) The camera button swipe up in the locked iPhone home screen 2) the top-to-bottom page swipe which shows weather details in iPhone screen.
Example: http://i.stack.imgur.com/BauJ8.jpg
I tried different page gestures etc, but no luck.
Could anyone pls let me know the approach or any sample tutorial ?
Much Appreciated.
Thanks Prakash
Try to use UIPanGestureRecognizer
With this gesture recognizer you can handle gesture direction and velocity. Here are some actions you may be interested in:
使用“自定义手势”的“自定义视图”解决了我的问题。
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.