超过骑四/五手指捏手势? [英] Over ride four/five finger pinch gesture?

查看:69
本文介绍了超过骑四/五手指捏手势?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个应用程序中有一个要求,当用户从主屏幕以外的任何其他屏幕四手指捏时,都会将用户带到特定应用程序的主页.但是四指捏合手势是Apple将应用程序置于后台的默认手势.

I have a requirement in an app, where the user will be taken to the homepage of the particular app when he does a four finger pinch from any other screen apart from the home screen. But the four finger pinch gesture is Apple's default gesture to put the app in the background.

我们有什么特别的方法可以克服这个手势吗?另外,如果我超速手势,是否可以在AppStore中使用它?

Is there any particular way we can over ride this gesture? Also if I over ride the gesture, will it be allowed in the AppStore?

任何帮助将不胜感激.

推荐答案

请参见

适当地支持手势

避免将不同的动作与用户已知的标准手势相关联.例如,请注意避免重新定义显示通知中心"的从顶部向下滑动"手势的含义.

Avoid associating different actions with the standard gestures users know. For example, take care to avoid redefining the meaning of the "swipe down from the top" gesture that reveals Notification Center.

覆盖操作系统级别的手势是打破可用性并造成用户不满意的好方法.可以使用自定义UIGestureRecognizer覆盖四指捏,但这违反了Apple的可用性标准.

Overriding a OS-level gesture is a good way to break usability and create an unhappy user. It may be possible to override the 4-finger pinch with a custom UIGestureRecognizer, but this is in violation of Apple's usability standards.

这篇关于超过骑四/五手指捏手势?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆