Monday, May 21, 2012

iOS Private API Documentation


Is there a web site or project documenting private APIs for the iPhone SDK?



Source: Tips4all

8 comments:

  1. Most likely. Just use the command line application class-dump to view the private headers. Note that your app will be rejected from the App Store for linking to private frameworks if you link at compile. It is easy enough to see that you are linking the private frameworks by running otool on your binary if linked at compile.

    ReplyDelete
  2. These are the compilable headers generated by class-dump-z, a iOS class dumper:
    http://github.com/kennytm/iphone-private-frameworks

    ReplyDelete
  3. There is a Stack Exchange proposal but it's lacking support:


    [...]for iOS developers who require
    help and advice when using
    undocumented iOS APIs. Developers who
    discover private iOS APIs and need a
    place to document them.


    http://area51.stackexchange.com/proposals/18154/ios-private-apis

    ReplyDelete
  4. Try App Scanner. It doesn't contain documentation, but does let you look up method signatures, and also scan your .app file to make sure it doesn't contain private APIs before you submit to the iOS review team.

    link --> http://www.chimpstudios.com/appscanner/

    ReplyDelete
  5. here are searchable archives from iPhone OS 2.2.1 to iOS 5

    https://github.com/nst/iOS-Runtime-Headers

    ReplyDelete
  6. I don't know of a list of only private ones. But you can get the complete apis from Erica Sadun's site.

    When using private api's keep this one in mind.

    ReplyDelete
  7. http://ericasadun.com/iPhoneDocs312/files.html
    This is provided by the ericasadun

    ReplyDelete
  8. You might also find my "private-dumper" ruby gem useful: http://rubygems.org/gems/private-dumper

    ReplyDelete