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
8
votes
1 answer

Access private APIs on NON-jailbroken devices for Business use ONLY

This question follows the answer provided by Nate on this link: How do I change my iOS applications' entitlements? It seems the described procedure is to be applied on Jailbroken devices. I'm interested in being able to turn off the screen via my…
teuteuguy
  • 129
  • 4
8
votes
7 answers

Apple and private APIs

Now that it's public knowledge that App Store submissions are being tested for use of private APIs, I need to ask the question... what exactly is a private API so that I may avoid them?
RyJ
  • 3,995
  • 6
  • 34
  • 54
8
votes
1 answer

IOSurface - IOS Private API - Capture screenshot in background

I want to capture a screenshot from a background service. Private API is just fine as I don't need to submit to app store. I have already tried UIGetScreenImage and it does not work from background app. I am using following code which I got from SO.…
androabhay
  • 655
  • 6
  • 13
8
votes
2 answers

GSSendEvent - Inject Touch Event iOS

I want to inject touch event in iPhone. I get the coordinates of touch event via network socket. GSSendEvent seems to be good choice. However, it needs GSEventRecord as one of the inputs. Does anyone know how to prepare GSEventRecord? I prepared it…
TorukMakto
  • 2,066
  • 2
  • 24
  • 38
8
votes
1 answer

iOS touch event notifications (private API)

It's possible to simulate touch events on iOS, and you can receive various system wide notifications when in the background using CTTelephonyCenterAddObserver and CFNotificationCenterAddObserver, eg: IOS Jailbreak How do intercept SMS / Text…
Ben Dowling
  • 17,187
  • 8
  • 87
  • 103
8
votes
1 answer

Getting state for system wide notifications in iOS and OS X

I am trying to write a code which will handle turning on/off screen on iOS (You can take a look at this question where similar problem is discussed). I included OSX tag for this question, because OSX has the same system wide notification facility.…
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
8
votes
3 answers

Is there any private api to monitor network traffic on iPhone?

I need to implement an app that monitors inbound/outbound connections by different apps on iPhone. my app is going to run in background using apple's background multitasking feature for voip and navigators. I can use private api as my client doesn't…
virata
  • 1,882
  • 15
  • 22
7
votes
1 answer

use 3g for internet when connected to adhoc wifi (using private API's)

First and foremost, I am looking for a resource to use Private API's. this is an enterprise application and will never go to the app store I need to take as much configuration out of the users hands as possible. That being said, I have a device…
AtomRiot
  • 1,869
  • 3
  • 18
  • 24
7
votes
1 answer

Setting a BBSectionInfo using BBSettingsGateway fails for unclear reason

I’m attempting to create a solution for an end-to-end testing suite to set user permissions (contacts, photos, notifications, etc.) on the simulator. The reason for doing this is because permission alerts are displayed by SpringBoard, and they…
Léo Natan
  • 56,823
  • 9
  • 150
  • 195
7
votes
1 answer

How to use iPhone SDK Private APIs

I haven't found a comprehensive list of the steps that are required to use a private API from the iPhone Library. In particular, I would like to know how to get header files, if they are even required, how to get it to compile (when I simply add the…
Senseful
  • 86,719
  • 67
  • 308
  • 465
7
votes
1 answer

How to send and receive data using BluetoothManager.framework private API on iOS

These Days I'm working on a project in which we need to connect an non-MFI Bluetooth Device to iPhone,and that device doesn't support to be an BLE peripheral client, so we have to do this on classical bluetooth. I managed to paired and connected the…
Nick
  • 101
  • 5
7
votes
2 answers

How to load new generated private API headers in iOS?

I'm dummy in iOS especially in private API. I have application for testing and now I need to use private API (this application not for App Store). I downloaded generated headers from iOS-Runtime-Headers and what next? Under /System/Library/ I have…
snaggs
  • 5,543
  • 17
  • 64
  • 127
7
votes
1 answer

iPhone private API compiling

I'm searching through the whole internet since a few hours now, and I just can't find the informations I'm looking for. I would like to mess around with the private apis, see whats possible, etc., but I can't even compile something. So I've got a…
Max Ka
  • 552
  • 4
  • 15
7
votes
1 answer

Intensity of custom iPhone vibration

This is a question related to Are there APIs for custom vibrations in iOS?. I am able to create custom vibration patterns, but have no control over the intensity. This is copied over from Kevin Cao's answer that enables custom vibration…
Julian Vogels
  • 668
  • 1
  • 6
  • 21
7
votes
3 answers

iOS switch off vibrate on silent programmatically [Private API]

I would like to keep my iPhone from vibrate when it's on Silent Mode even when it is ON in settings. I want to do it programmatically from an App. This is for me, so I can use a private API. Is there an api which manage Sounds in Settings? Do you…
Bcow7
  • 73
  • 1
  • 4