开发者

Verify/Check to see if a Configuration Profile has been installed on iPhone

开发者 https://www.devze.com 2022-12-18 20:30 出处:网络
Does anyone know if there\'s an API to check to see if a particular Configuration Profile has been ins开发者_如何学编程talled on a iOS device?

Does anyone know if there's an API to check to see if a particular Configuration Profile has been ins开发者_如何学编程talled on a iOS device?

Thanks, Cole


There is no API for that, but there is a workaround based on certificate validation. You have to create a self-signed root certificate and include it into your configuration profile. Then you have to create another certificate signed by this root certificate and include it into your application. When you need to verify if a configuration profile is installed, you may verify if that certificate is trusted. See Apple developer forums for details - https://devforums.apple.com/message/11142#11142

0

精彩评论

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