There is no API for this, but there is a workaround based on certificate verification. You must create a self-signed root certificate and include it in your configuration profile. Then you need to create another certificate signed by this root certificate and include it in your application. When you need to verify that a configuration profile is installed, you can verify that this certificate is trusted. See Apple Developer Forums for details - https://devforums.apple.com/message/11142#11142
source share