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

Use front and back (primary and secondary) camera simultaneously on iOS device

I wanted to know if there is any functionality/app on iOS devices which allows you to capture videos simultaneously using front and back cameras showing the outputs in say a split screen. And then later allowing to merge both videos. Can this…
Hrishikesh_Pardeshi
  • 995
  • 4
  • 19
  • 45
4
votes
1 answer

iOS 6 - BluetoothManager framework - "NSObject" not found error

My question is a duplicate of this one. But that one (rightly)got closed as non constructive, with zero answer and with absolutely no use to anyone. I am trying to connect to a external bluetooth accessory from my iPhone 5. The accessory is neither…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
4
votes
2 answers

iOS event/notification for network activity up/down/off

I want a event/callback for my iOS app when the network activity goes from none to up (and the other way around). Similar to how Android does with onDataActivity(). I'm not talking about Reachability but when data actually starts or stops…
Sunkas
  • 9,542
  • 6
  • 62
  • 102
4
votes
1 answer

How does one programmatically start a hidden app on iOS / iPad?

How can I run a "hidden" app on a non-jailbroken device? FieldTest app is a hidden app on ios devices, and can be started by typing a series of keys on the iPhone phone app keypad. I would like to run FieldTest on iPad, but iPad doesn't have a…
4
votes
1 answer

IOSurfaces - Artefacts in video and unable to grab video surfaces

This is a 2-part Question. I have the following code working which grabs the current display surface and creates a video out of the surfaces (everything happens in the background). for(int i=0;i<100;i++){ IOMobileFramebufferConnection…
Hrishikesh_Pardeshi
  • 995
  • 4
  • 19
  • 45
4
votes
1 answer

Taking Screenshots from iOS app - emulating Display recorder (query on the internals)

I need to create an iOS app which can take screenshots of other apps, videos etc. as a part of an experiment. I am open to using Private API's since I won't be publishing the app to the app store. I could successfully use the method…
Hrishikesh_Pardeshi
  • 995
  • 4
  • 19
  • 45
4
votes
1 answer

iOS private API call to bring app to the foreground

Is there any way to programmatically bring an iOS application that's currently running in the background to the foreground? Note that this is an enterprise iOS app for non-jailbroken devices, so private API calls are fine. I've tried a number of…
Ben Dowling
  • 17,187
  • 8
  • 87
  • 103
4
votes
1 answer

Sending MMS on iPhone using CoreTelephony

I am interested in sending an MMS within a private application on the iPhone. A lot of the information I need is proprietary, and therefore I can't find it anywhere. Basically, I'm looking for the proper way to construct a CTMessage and encode it…
E Klonowski
  • 183
  • 1
  • 9
4
votes
2 answers

Show some UI from background in audio player or VOIP app on iOS

I know that audio players and Voip apps can run in background on iOS. Is there a way to show UI from background (except LocalNotifications)? I mean full screen UI. A method which uses private API or other tricks are acceptable. The application will…
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
4
votes
1 answer

iOS How can I use UIApplication launchApplicationWithIdentifier which is in private APIs?

[EDIT]I've jb my device. And I found the latest private APIs iOS-Runtime-Headers on Github. I want to use private APIs in my app. I found kennytm/iphone-private-frameworks on github but it only support iOS 3.x. While I'm working on iOS 5.0.1. I…
wyp
  • 869
  • 3
  • 11
  • 23
4
votes
2 answers

Getting MAC address of a bluetooth using BluetoothManager private framework

I'm trying to implement device discovery using bluetooth in IOS 5.0.1 iPhone 4S. I'm using the private framework BluetoothManager. My code is: - (IBAction)searchForDevices:(id)sender { [self.indicator setHidden:NO]; [[NSNotificationCenter…
user-123
  • 874
  • 1
  • 13
  • 34
4
votes
4 answers

Get a screenshot while App is in background? (Private APIs allowed)

I am developing a monitoring application for the iPad. It already uses private frameworks to send artificial events and simulate user input, while my App is on the background and another App on the foreground. Now my problem is, I need to get a…
Jorge Aguirre
  • 2,787
  • 3
  • 20
  • 27
3
votes
1 answer

Will Apple reject the app if UIStatusBarForegroundView is used as string

In my app I have need to trigger show some custom view when status bar is tapped. I figured out the way to get the event by subclassing UIApplication. If I use the code below will Apple block my app for private API usage? - (void)sendEvent:(UIEvent…
imthi
  • 4,798
  • 1
  • 22
  • 24
3
votes
2 answers

Is there an unofficial way to get the device phone number?

I would like to programatically get the device phone number (on iOS5 and iOS6). Are there any unofficial ways for doing so? Are there any private Core Telephony APIs or IOKit APIs that can be used for example? And yes I do know my app won't be…
Gruntcakes
  • 37,738
  • 44
  • 184
  • 378
3
votes
1 answer

Preferred method to automatically start an app on startup/boot?

I'm looking to build a jailbroken device in "kiosk mode" where only my app can run on the device. I'd like to have my app automatically launch when the device boots. There have been a number of questions asked about this: Loading apps while iPhone…
Simon Woodside
  • 7,175
  • 5
  • 50
  • 66