views:

206

answers:

3

I'm looking into developing an enterprise iPhone app. As it will be proprietary and will not be submitted to the App store, am I free to use private APIs?

+3  A: 

I'm pretty sure the answer is yes, you can do what you like. Do bear in mind though that private APIs are more likely to break with iPhone OS updates.

U62
A: 

There is no app review process for enterprise apps. So the answer is yes. What private API are you thinking of? I'm asking because I'm curious.

St3fan
Anyone have some sort of wiki or something documenting the undocumented off-limits api calls?
Nimrod
An example would be retrieving the user's phone number via NSUserDefaults SBFormattedPhoneNumber.
franchismo
If you can't find it in the SDK, it's undocumented...
Tim
Erica Sadun did a class dump of all 3.1.2 frameworks at http://ericasadun.com/iPhoneDocs312/index.html You can browse through there to find interesting bits. I think someone else did the same but then with the option to add comments. Can't find it anymore though.
St3fan
A: 

I am totally agree that the application is not submitted to app store so we can use private api into application developed under enterprise license.

But one more aspect of problem is that the Private api applications can be executed only on Jailbroken iphone.

So what about this problem?

can we use the private api for enterprise development for a device which is not jailbroken.

Sumit