Is there an API for iPhone development to disable mail/sms? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this questionIs there an API for iPhone development to disable mail/sms? I could not find one.
no. There isn't.
I can't think of a reason why a user would want an app to be able to do that!
In general, there is not a way for an iPhone app to prevent the operation of other applications, including built-in ones like mail.
The closest thing to this kind of capability is if you are configuring iOS devices in an Enterprise environment, you have the ability to add certain restrictions (disable camera, prevent installing apps,...) as part of the configuration profile you install on the device. (Although even in that case, "disable mail" and "disable SMS" don't seem to be options Apple provides).
精彩评论