简体   繁体   中英

Will Apple automatically reject an iOS app that disables the touch screen?

I understand that the Apple Review Guidelines state that an app which alters the switches (volume up/down and mute switches) will be rejected, but what about the touch screen functionality? Will Apple immediately reject an app which locks the screen (temporarily, for express purpose in the app, obviously) or is this allowed? I've not seen explicit documentation either way.

If you use undocumented/private APIs, your app is immediately rejected. So if you're somehow programmatically triggering the same action that would happen if a user hit the lock button on the top of their iOS device, then yes, your app would be rejected.

I'm not aware of the scope of your app so I won't try to assume the purpose of the lock, but you could always create your own UIView that covers the entire screen.

If you mean disabling touches for a period of time, that was the default behaviour of some animation (I say was, because UIView animation have change at some point, so you must check documentation for that aspect)
But to go back to the topic, Yes you can disable User interaction for a period of time, Apple do it, in transition for example. (that is for a very short period of time, but it's logical)
The reason you should get rejected while doing so would be because you use it in a way that is not natural for the user experience or not constant with the general feel of use of the devise. But even if Apple don't reject you, if you are to remove user interaction for no good reason the user will just kill you app with the home button and delete your app right away , a least it's what I would do.

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