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
2 answers

how to open another application from background using Custom URL scheme in iOS

I want to develop an Enterprise Application. It will run in the background continuously and from the background i want to open an another application. Its like toggle between two application. I have implemented forever background running with help…
iOS Dev
  • 301
  • 2
  • 9
4
votes
0 answers

Using IOSurface to take screenshot in iOS7 in games

I'm trying to take screenshots from background using IOSurface, here's my code IOMobileFramebufferConnection connect; kern_return_t result; IOSurfaceRef screenSurface = NULL; io_service_t framebufferService =…
cloudycliff
  • 299
  • 1
  • 8
4
votes
1 answer

iOS app - find (unknown) private api calls

We have an app that's on iTunes, and it received a warning in iTunes that it uses undocumented api…
alex-i
  • 5,406
  • 2
  • 36
  • 56
4
votes
1 answer

How do I use private system API?

I'd like to use a private/hidden iOS method, for example clearIdleTimer from the SpringBoard class (example here). How do I do this? A lot of information references much older iOS versions. This is just for experimentation, I recognize that…
user924037
  • 141
  • 1
  • 6
4
votes
3 answers

Retrieving UDID via private API

I'm looking for a way to retrieve the UDID on devices running iOS 6+ (Enterprise deployment only - no app store limitations). Calling the (now private) method uniqueIdentifier returns the 'vendorIdentifier' starting with 'FFFFFFF'. Unfortunately…
user3086582
  • 41
  • 1
  • 3
4
votes
2 answers

ios7: how to track system internals like notifications

We are developing application which rely on new IOS7 functionality - remote-notification background updates. According to docs system can "skip" calls to didReceiveRemoteNotification:fetchCompletionHandler: if it finds that background processing…
IPv6
  • 405
  • 4
  • 17
4
votes
1 answer

BluetoothManager not working on iOS 7

I'm trying to use BluetoothManager in an app on iOS 7 but it doesn't seem to be working. Calling setEnabled: and setPowered: on BluetoothManager doesn't have any effect, and I'm registering for notifications…
ttarik
  • 3,824
  • 1
  • 32
  • 51
4
votes
2 answers

iOS - Screen sharing in Perfecto Mobile

We were exploring various test suites for mobile automated testing and ran into this company called Perfecto Mobile. One of the features that blew me away was they are able to (without jailbreaking) effectively perform a "Remote desktop" on a…
Tejaswi Yerukalapudi
  • 8,987
  • 12
  • 60
  • 101
4
votes
1 answer

Changing iPhone's date and time

I'm toying with iOS SDK, and I'm trying to change the device's date and time programmatically. I read that it's not possible with the standard SDK, which makes sense, but I'm wondering if it's possible to do so with the private APIs, as I'm just…
Redwarp
  • 3,221
  • 3
  • 31
  • 44
4
votes
5 answers

Is it possible to have a running background app on iOS

This is a strange one, I have a need to create an iOS app that runs in the background on an iOS device, but can not be visible on the Home screen of the device. The app may need to show up in Settings to configure a few options, but it mostly needs…
Brian
  • 723
  • 1
  • 8
  • 26
4
votes
1 answer

Is there a private API to read another app badge number?

I want to be able to read badge numbers from 3rd party apps. I checked SpringBoardServiceService and found only SBGetBadgeNumber which is for reading your own badge number (it's used by higher level API [UIApplication…
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
4
votes
3 answers

iOS Private API - Launching an app by bundle ID

Set of three questions, last one is the desired goal: 1) It is possible to use a GraphicsServices method and link the binary from private framework. Why is it not possible to do similar with SpringBoard SBUIController? 2) Is there no way to use…
TorukMakto
  • 2,066
  • 2
  • 24
  • 38
4
votes
1 answer

Distinguish between different causes of VOIP application start

VOIP application are restarted automatically in iOS in several cases: Initial install Reboot of device Crash of VOIP application I am looking for way to distinguish between them. I checked launchOptions from didFinishLaunchingWithOptions, but both…
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
4
votes
1 answer

expand (pull down) iPhone statusbar programmatically

Is there a way to expand/collapse statusbar programmatically? This is just for my experimental app. I do not intend to place it on the market. Thanks Edit: I mean expanding it as when a user touches and pulls it down. In Android, I have seen it's…
4
votes
1 answer

iOS otool to detect private apis

I am a first time ios developer and cannot find any documentation on private apis. So I have been searching for some type of tutorial on how to use otool. The only certain thing that I can find is that I had to download the command line tools…
user1803649
  • 263
  • 1
  • 3
  • 11