简体   繁体   中英

Install a .mobileconfig file programatically on iOS 7

I have a config file within my app. Can I execute(run) the the config file on a button click?

Currently, I am emailing the file as an attachment to the respective users on a button click and the execution starts when they open the email and tap on the attachment. Since the config file is native, is it possible to run it on a button click?

I am looking into this currently

( Installing a configuration profile on iPhone - programmatically )

Also, here

( iOS - Prevent iPhone Configuration Profile from being deleted OR check to see if it's installed )

The answer says that, the only way to install a mobileconfig file is either through safari/mail. But this answer has not yet been approved so not sure if these are still the only options to install the mobile config file.

This is an official documentation from the apple developer's website. Hopefully, this will help people be updated of what are the current possibilities with respect to installing the configuration file.

Visit https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/Introduction/Introduction.html

In short, there are four ways to deploy configuration profiles:

  • By physically connecting the device (using IPCU, now Apple Configurator )
  • In an email message
  • On a webpage
  • Using over-the air configuration as described in the above document

This should end some of the speculations around what is the current scenario.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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