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

Is there any private api that can monitor keyboard access (which app is using keyboard,its access time etc) on iphone?

I need to implement an app that monitors keyboard activity i.e. which app is using keyboard on iPhone. no need to retrieve key pressed/data entered by that app using keyboard at all. my app is going to run in background using apple's background…
virata
  • 1,882
  • 15
  • 22
5
votes
2 answers

Private iOS API to access raw input from the noise canceling mic(s) on iPhone?

Is there a way to use a private iOS API to access the raw input from the noise canceling mic(s) on the iPhone? I've tried looking through header dumps I found online but couldn't find anything related to the secondary microphones.
Matt
  • 71
  • 4
5
votes
0 answers

How to toggle cellular data on iPhone

I know this is only possible with private API, this is for a jailbreak tweak NOT the AppStore I am trying to toggle the cellular data option of the iPhone. I have found APIs for Bluetooth, Airplane mode, wifi and GPS, but not for 3G or cellular…
Jonathan.
  • 53,997
  • 54
  • 186
  • 290
4
votes
2 answers

VPN Apple iOS hidden API

is someone have informations about Apple API to access SSL and VPN capabilities on iOS. Strangely, Apple doesn't communicate about it, asking them about is not answered whereas some software produced like Juniper, Cisco, etc did this well.
dlewin
  • 1,673
  • 1
  • 19
  • 37
4
votes
1 answer

Howto use SBMediaController - always throws "Symbol not found"

I'm trying to get access to SBMediaController, but my app just crashes. My target is to stop any playing music app in background with [[[SBMediaController] sharedInstance] stop] I use private headers to gain access to privateframeworks, and can…
Max
  • 502
  • 2
  • 4
  • 14
4
votes
2 answers

Using LSApplicationWorkspace in Swift

I've added MobileCoreServices.framework to my Xcode project, and have the statement import MobileCoreServices in top of my file. I have the line of code let test = LSApplicationWorkspace.defaultWorkSpace() And xcode said Unresolved Identifier…
blee908
  • 12,165
  • 10
  • 34
  • 41
4
votes
1 answer

AirPlay iOS Receiver / Recorder

How would I setup an AirPlay video & audio receiver for iOS (and then save the stream as a video file)? I know that this goes against Apple's guidelines, this is not intended for AppStore distribution. I am fine using private APIs. Note: I am using…
Benjy Wiener
  • 1,085
  • 2
  • 9
  • 27
4
votes
1 answer

How to catch all push notifications from other apps on iOS using private frameworks?

I'm looking for a method to detect incoming push notifications directed to other apps on iOS. I know there's probably no way this can be done with public frameworks, but since this is for a personal project, I can use private libraries. I want to…
4
votes
2 answers

Get CellID, MCC, MNC, LAC, Signal strength, quality and Network in iOS 8.3

How to get cell id using private apis in ios 8.3 as previous core telephony private apis are not working in latest ios sdk 8.3.
4
votes
1 answer

Is accessing a private property (starting with underscore) using KVC considered using private API?

On a project I'm working on collaboratively, I've seen that my coworker has used the following code to access/modify non-public properties of UISearchBar: something = [self.searchBar valueForKey:@"_searchField"]; [searchField setValue:grayColor…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
4
votes
1 answer

Open Siri using private API's in iOS 8

I want to make an app that won't be released on the App Store. I want this app to open siri through private API's, basically inject a home button press and hold into the events queue. I have tried using GSEvent(GSSendEvent - Inject Touch Event iOS),…
virindh
  • 3,775
  • 3
  • 24
  • 49
4
votes
1 answer

How to monitoring App running in the foreground in iOS8?use the PrivateFrameworks SpringBoardServices

Everyone Great God!I really need help~ Before iOS8,I use the PrivateFrameworks SpringBoardServices monitoring the App running in foreground is fine. Like the following code: #define SPRINGBOARDPATH…
gary.zhan
  • 49
  • 1
  • 2
4
votes
1 answer

Get iPhone location in iOS without preference Location Services set to ON

I'm writing a daemon similar to Chris Alvares daemon. I want to get the divice location in background without users permission. If the Location Services preference in Settings is set to ON then I have no problem getting location. For this I'm adding…
4
votes
1 answer

iOS 7 (non-jailbreak) Wi-Fi RSSI value

Is it possible to get Wi-Fi RSSI value on non-jailbroken iOS 7 device? I read about MobileWiFi.framework and Apple80211 functions and if I understand correct they don't work without jailbreak. I don't want to publish my app on AppStore, so…
Pavlo Shadov
  • 382
  • 4
  • 16
4
votes
1 answer

Get light sensor value in iOS without private API?

I need to get a concrete value from a sensor in lux. So no other substitute ways are appropriate for me, such as screen brightness. It seems IOKit contains everything I need but it is private API and I will not be able to post my app on the app…
user3798020
  • 75
  • 1
  • 10