Questions tagged [iphone-privateapi]

A question with this tag is about non-public (aka private) iOS APIs. Apple will reject apps that use non-public APIs, but they can be distributed using ad-hoc or enterprise distribution (on jailed and jailbroken devices), or through jailbreaks. The main difference from software development standpoint of iOS private API that such APIs aren't declared in header files. As result extra steps are required to figure out API signature for its usage.

Questions with this tag discuss which private API can be used to accomplish different tasks, what are private API's signatures, runtime restrictions for usage of private API and so on.

The words "private API" in a question doesn't automatically make it suitable for this tag. As example, questions regarding Apple policies (why something was rejected or how do they know whether app uses some private API) aren't good fit for this tag. First of all, it's not purely software development question (it's more legal, tools questions). Second, all questions with this tag imply that it will be used in application which won't be submitted to Apple.

508 questions
1
vote
2 answers

UIEventSubtype missing elements

The enum UIEventSubtype (iOS UIKit Framework) contains events such as play, pause, next, seek, etc. However, the iPod Access protocol contains numerous other events, such as select, up, down and back (think iPod with clickwheel). The iPod app on iOS…
1
vote
2 answers

What does "Use for development" do internally in Xcode?

You can mark devices as used for development in XCode organizer. What does it actually do internally on iOS device? Does it set some kind of flag? Does it install something? Is there API on device (including private) to check whether it's…
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
1
vote
1 answer

Intercept gsm data in ios

I want to do some treatment of the gsm data in ios before it sent. i know that i have to use private APi and in my case its not a problem, my app is experimental and will not be sent to the AppStor. i dont know from where to begin. I think that i…
Red Mak
  • 1,176
  • 2
  • 25
  • 56
1
vote
1 answer

Using private API's for handling e-mail account through code

I want to delete an existing email account which has been registered in the device through code. The basic idea I got after going through some forums is to use private API's(like accountSettings) to handle these actions, but the deletion operation…
Vinayak
  • 11
  • 1
1
vote
2 answers

Launch Settings app using private api

Since opening Settings.app with a prefs:// URL no longer works in iOS 5.1+, I'm wondering if I can launch Settings using private APIs? NOTE: Not for the app store.
ninjaneer
  • 6,951
  • 8
  • 60
  • 104
1
vote
1 answer

How to get "C" written frameworks' headers?

I have a question for those iPhone hackers. People using private apis know that their private headers are dumped using a tool called 'class-dump'. As I know, this tool only dumps Objective-C headers. Is there any way to dump C headers? For example,…
Mike Chen
  • 1,113
  • 8
  • 9
1
vote
3 answers

Check bluetooth state in iOS

I have an application (I am not going to submit this app to apple app store) using which I want to check whether bluetooth is turned on. If it is turned on then I have to display an alert. - (void)centralManagerDidUpdateState:(CBCentralManager…
Irshad Mohamed
  • 2,129
  • 1
  • 18
  • 19
1
vote
1 answer

Test private APIs on iPhone

I am a newbie to iOS development. I have to develop an app that uses private APIs and I understand the restrictions posed by the App Store for such apps. I just want to know if I can slap the app on a phone to test.. I don't want to distribute the…
user591410
  • 3,051
  • 5
  • 21
  • 30
1
vote
1 answer

iOS - Connect to a WiFi with password

Is it possible to connect to a Wireless access point with all the private information (ssid and password) provided? It is okay even with a private framework. I am not releasing it in appstore so I just want to know if it can be done or not in iOS.…
user591410
  • 3,051
  • 5
  • 21
  • 30
1
vote
1 answer

IOS share data between apps

Hi I want to share data/files between apps on the SAME IOS device. The scenario: one app pulls data (from a server / up to 1GB) to the device, and other apps should be able to access it. How can I achieve this? without a Jailbreak Possible…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
1
vote
1 answer

How to hook methods of MPIncomingPhoneCallController?

I want to hook methods of class MPIncomingPhoneCallController in iOS 5 to do something when a call comes. I use Class _$MPIncomingPhoneCallController = objc_getClass("MPIncomingPhoneCallController"); MSHookMessage(_$MPIncomingPhoneCallController,…
dustdn
  • 418
  • 2
  • 6
  • 18
1
vote
4 answers

passworded exit from the app

I am developing an iPhone app, that will not be distributed on AppStores. I have tried to search for private api but no luck. When the user tries to quit the app, I want to prompt the user to enter the correct password so as to enable him to exit…
Ganesh Nayak
  • 802
  • 11
  • 38
0
votes
1 answer

Detecting Private APIs

What Apple says about Private APIs. How can a user test his/her application if it contains Private APIs. What are the steps Apple has suggested users to test there apps for Private APIs and other reason for an app could get rejected ? A link or a…
Illep
  • 16,375
  • 46
  • 171
  • 302
0
votes
1 answer

Private APIs used in my project - Beginner

I need to check if i have used any private APIs in my application. Most of the answers posted in SO suggest to use the tool AppScanner, to find out. But when i add the .app file to AppScanner, it crashes. So this doesn't work. 1.) Are there any…
shajem
  • 2,111
  • 5
  • 22
  • 30
0
votes
2 answers

Where can I find information about private iPhone APIs?

I am trying to make an iOS application not for the App Store involving customized screen savers, automatic starting and ending of phone calls, and contact restrictions. I have not been able to find resources and information regarding private,…
Matrix
  • 7,477
  • 14
  • 66
  • 97