Programatically check if there is a configuration profile installed or not on an iPhone

拟墨画扇 提交于 2019-12-04 12:50:50

This is very hard to do. If you are asking in the context of an MDM solution then your app on the device could ask the server for what is installed (assuming you, or your company, develop both the MDM-side and the app on the device). If your app needs to find out by itself then the only way to do this is if your app is an in-house app: - run it as a VOIP app so it can run regularly in the background - monitor the iOS kernel messages via an asl_queue for messages relating to a profile getting installed or deleted.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!