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

前端 未结 1 1125
滥情空心
滥情空心 2021-01-03 03:12

Does anyone know if there\'s an API to check to see if a particular Configuration Profile has been installed on a iOS device?

Thanks, Cole

相关标签:
1条回答
  • 2021-01-03 03:37

    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 讨论(0)
提交回复
热议问题