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

Launching Permissions of ios application

Apple has documented ways to go to the settings app from any iOS app. But is there any way to launch the permissions (of the app) inside the settings app directly? I saw this private header (preferences framework) and it kind of seems to accomplish…
0
votes
0 answers

Apple App guidelines - is a GET and POST request a private API?

My IOS app transfers data to/from my web server using GET and POST queries. Are these 'third party API's or private APIs, and disallowed? I am a beginner, and would like clarification on these definitions? My app purpose is to submit site user's…
Dimitri T
  • 921
  • 1
  • 13
  • 27
0
votes
1 answer

Apple rejected an app that for use on non public api where there aren't any non pulic apis

This is the message I got from Apple for rejecting my app: Your app uses or references the following non-public APIs: didDetermineState:forRegion: didEnterRegion: didExitRegion: The use of non-public APIs is not permitted on the App Store…
Pratham Mehta
  • 293
  • 2
  • 13
0
votes
1 answer

Is "currentPlaybackTime" property of MPMoviePlayerController a private API

I am not sure about this private API thing. Is the property "currentPlaybackTime", which is in the MPMediaPlayback Protocol of the MPMoviePlayerController a private API? I am asking, because this property is working fine but it is not listed in the…
Micko
  • 389
  • 7
  • 15
0
votes
1 answer

Usage of private API properties in older iOS, public in newer iOS

I know it is forbidden to use private API functions or classes, because they can change in a future version of iOS. So I wondering if it is allowed if a private function is now public in a new iOS. My example is MPMoviePlayerController which has a…
sui
  • 68
  • 1
  • 8
0
votes
1 answer

How to get sms /iMessage count of incoming and outgoing with private api without jailbreaking the phone

I'm interested in just getting the count of incoming and outgoing messages to the phone.
0
votes
0 answers

iOS: How to show alertview while app in background?

I want to show an Alert when the app is in background. I have found the following question and my intention is almost same. But with no working code sample Show an alert when iOS app is in the background I know, it's NOT possible with any public…
Partho Biswas
  • 2,290
  • 1
  • 24
  • 39
0
votes
1 answer

Can I use CBPairingAgent unpairPeer: to remove the bluetooth device from paired

I want to remove paired bluetooth device from system settings or "unpair". I know that apple doesn't provide public api to do this so I tried private class CBPairingAgent. I found headers on github CBCentralManager.h CBPairingAgent.h and here is my…
sage444
  • 5,661
  • 4
  • 33
  • 60
0
votes
1 answer

Using private framework generated by RuntimeBrowser in Xcode 7.3

I have generated all the private framework API's using RuntimeBrowser and I add them to my test project in Xcode. I just did an import of the "RadiosPreferences.h" header file and try a build with several errors. Please see attached screenshot. I'm…
Philoxopher
  • 1,660
  • 3
  • 15
  • 17
0
votes
1 answer

Private API iOS iCloud lock + Find My iPhone status & Uniquely identify devices

I am not looking for app-store submission, we are creating an enterprise level app. There are a few problems we have run into while trying to create in-house application for our users and one of them is uniquely identifying devices so that we can…
ShayanK
  • 1,243
  • 2
  • 13
  • 27
0
votes
1 answer

What are the methods on SpringBoard to handle the life cycle of application?

Or maybe there is some method will accept the notification of an application's life cycle notification. What is the SpringBoard equivalent of methods like application: didEnterBackground?
Sawoski Jake
  • 1
  • 1
  • 3
0
votes
0 answers

iOS 9 and launchApplicationWithIdentifier

I have been reading up about launchApplicationWithIdentifier because I want to bring an application from the background in to foreground. Most posts about this are very old and so I wanted to ask a couple of questions. I am aware this is a private…
Burf2000
  • 5,001
  • 14
  • 58
  • 117
0
votes
1 answer

Private api CTGetSignalStrength() not working on Xcode 7.3

NSString * CTSIMSupportGetSIMStatus(); int CTGetSignalStrength(); giving compilation error on xcode 7.3 using bridging header in swift, it was working fine on previous versions.
Shoaib
  • 1,295
  • 15
  • 22
0
votes
0 answers

Receive SMS Event on iPhone without Jailbreak?

I read a lot of topics like these: How Can We Read Incoming SMS by using Application in iOS how to read reply SMS in objective-c how to get the message when receiving the "kCTMessageReceivedNotification" notification on IOS5 I didn't get all the…
ecth
  • 1,215
  • 1
  • 16
  • 33
0
votes
1 answer

Is libMobileGestalt deprecated on iOS 9?

I am trying to get Bluetooth MAC address on my internal app, but still not working until now. First I use libMobileGestalt private library but can not get the information. I am using the following code but get null. CFStringRef value = MGCopyAnswer(…