开发者

forbid exit from iphone/ipad application

开发者 https://www.devze.com 2023-01-10 17:08 出处:网络
is it possible and how to implement forbiden exit from application on iphone/ipad? we have an application that must permanently work on ipad device. user should not have any way to exit from applicat

is it possible and how to implement forbiden exit from application on iphone/ipad?

we have an application that must permanently work on ipad device. user should not have any way to exit from application. could you advise ho开发者_StackOverflow社区w to implement this functionality?


By jailbreaking it and installing custom software that enables you to do that.

Or putting a lot of tape over all the buttons.

Anyways, you can't do this with a standard app on a standard device. Just think about it - would be a pretty annoying thing for apps to do, wouldn't it?


Apple's own human interface design guidelines would forbid this. Your app can't encroach on the abilities of the OS that transcend your own application's responsibilities. The whole point is to have a consistent experience for the device and if you're modifying something as fundamental as switching apps, you're violating that principle.

If you can't exit the app, you're essentially turning your device into a single purpose unit. How do you expect to get back to the app list if you disable fast app switching and the home button?

Whatever solution you find would not be approved by the app store.

You should look at whether the current multitasking features can help chip away at your reasoning for needing the app to always run in the foreground.


If you are talking about an enterprise app locally distributed, you might be able to do this, though probably not.

The best idea would be to physically break or block the hardware button.

Or issue alerts to the device every 10 seconds making the thing effectively unusable when outside the application (you can ignore incoming notifications for you in-app).

Why do you have this requirement?


There is no way to implement this functionality. You cannot do it.


You can't do it, But if you jailbreak and configure the "Home-Button" settings you can :)

Btw, If you do it, the only way to quit will be a shutdown... And to shut down every time would be kinda annoying...

0

精彩评论

暂无评论...
验证码 换一张
取 消