简体   繁体   English

防止ios应用关闭

[英]Prevent an ios app from clossing

I am currently developing an ios app for a localization company. 我目前正在为一家本地化公司开发一个ios应用。 The company provides ipads to all his employees so this new app that i'm developing can keep track of them (in case of an emergency and to know if they are really working). 该公司为所有员工提供了ipad,因此我正在开发的这个新应用可以跟踪他们(在紧急情况下并知道他们是否确实在工作)。

I already finished the app and everything is working fine but now the problem is that anyone can close the app and "hide" his position from us. 我已经完成了该应用程序,并且一切正常,但是现在的问题是,任何人都可以关闭该应用程序并向我们“隐藏”他的位置。

It is possible to do something about this? 可以对此做些什么?

Also it is possible to start an app on boot. 也可以在启动时启动应用程序。 Something like this but on Ios. 这样,但在Ios上。

Is there anyway to "lock" the app so it can't be closed and only sent to background? 无论如何,有没有“锁定”该应用程序以使其无法关闭而只能发送到后台?

Thanks 谢谢

EDIT 编辑

I tried with the guided access but the employees also need to use other apps (like safari) to do their work. 我尝试使用引导式访问,但员工还需要使用其他应用程序(例如野生动物园)来完成工作。 Not only mine. 不只是我的 I tried this and effectively you can't close the app but also you can't access other app. 我尝试了此操作,实际上您无法关闭该应用程序,但也无法访问其他应用程序。 Or am I doing it wrong? 还是我做错了? I want to allow my app to be in background but not close. 我想允许我的应用程序在后台运行但不能关闭。 Sorry if i did not explain myself well. 对不起,如果我不能很好地解释自己。

Many duplicates of this... 许多重复...

Settings - General - Accessibility - Guided Access. 设置-常规-可访问性-引导访问。

Turn it on and you can limit what the iPad can do. 打开它,您可以限制iPad的功能。

You can also stop it from closing apps. 您也可以阻止它关闭应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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