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
1
vote
0 answers

Wifi Enable/Disable on Jailbreak iOS devices

I know that there are private frameworks available on GitHub. So far I have tried: https://github.com/kennytm/iphone-private-frameworks This does not work: runtime I get error: Undefined symbols for architecture…
1
vote
0 answers

How accessibility works inside for iOS?

Have you seen any information about internals of iOS accessibility? I am looking for some unofficial documentation which shows how it's integrated with other parts of operation system. Generally, I can reverse engineer it, but it will take a lot of…
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
1
vote
2 answers

Private API to always keep app open

Hi I am looking for a way to make sure that my app cannot be completely closed or at least automatically open when the iPhone turns on. I am happy to use any private api's to accomplish this. Is this possible? Although it may affect battery life,…
Inovize
  • 233
  • 3
  • 13
1
vote
2 answers

Use Private API for InHouse Apps to get IMEI, ICCID and IMSI

I'm trying to build an app that return the following information: IMEI ICCID IMSI I saw that I could use CoreTelephony, but I came to doubt: To use these headers files (Import CoreTelephony.h from class-dump), the device must be jailbroken? If…
grapejuice
  • 11
  • 1
  • 3
1
vote
1 answer

Send notification when bluetooth connection has been made like an iBeacon

Hi I am looking to see if I can send a notification when my iPhone connects to a bluetooth device with my app running in the background. This is similar to what happens with an iBeacon in iOS 7 I am just wondering if this can be done with any…
Inovize
  • 233
  • 3
  • 13
1
vote
3 answers

Launch my app from bluetooth iBeacon connection (Private API)

I am creating a private distribution app and I am wondering if it is possible, using any methods or private API's, to open my app when a bluetooth connection has been made. What I have discovered so far is that with iOS 7 and the ability to use…
Inovize
  • 233
  • 3
  • 13
1
vote
3 answers

UIGetScreenImage - Private API

I was using UIGetScreenImage in my app, however, as everyone knows Apple is rejecting apps using private APIs. I have researched alternate ways to do this with takepicture but you get different size images as well as the annoying snapshot sound.…
user225061
  • 11
  • 1
  • 2
1
vote
1 answer

UISegmentedControl - selectedSegment does not change on Touch up?

I am in UIApplication::sendEvent override. I get a UIEvent which ultimately gives me UITouch object. When UITouch has phase == 3 (touch phase ended or touch up), I try to identify if the UITouch's view object was UISegmentedControl or not. If yes, I…
TorukMakto
  • 2,066
  • 2
  • 24
  • 38
1
vote
1 answer

iOS Private API performSelector crash

Basically I want to get a list of action targets for a UIButton. I have gone through this and my question is slightly different because I do not know what the target is. All I have is a UIButton object. So here's what I did to capture all action…
TorukMakto
  • 2,066
  • 2
  • 24
  • 38
1
vote
1 answer

CFNotificationCenterAddObserver No matching function for call error

I am writing a jail break tweak. I am hooking to all apps including app store based apps. I need to write a file to capture some data. Based on this answer, best way is for all apps to send notification to SpringBoard and let SpringBoard write file…
TorukMakto
  • 2,066
  • 2
  • 24
  • 38
1
vote
1 answer

Is there a private API in iOS that I can use to read/write save data from another app?

My sons iPod is suffering from this issue http://support.apple.com/kb/ts1368 Basically the only thing I can to to fix this is to reset the iPod without restoring a backup. He wants to fix his iPod but he does not want to lose his saved games (at…
Jamey McElveen
  • 18,135
  • 25
  • 89
  • 129
1
vote
1 answer

Change Settings/Preference Programmatically of iPhone Messages App

I want to change iPhone's Messages notification preference, programmatically in a jailbreak app. Any private API can be used and the app is not for the AppStore, so kindly don't say that "app will not be approved by Apple". How can I turn off the…
1
vote
1 answer

ERROR: iPhone Private Frameworks "No such file or directory"

I have added Private Frameworks To my project. When I build in DEVICE | RELEASE everything works fine and I am able to ldid -S the application and it successfully launches on my device. However, when trying to BUILD AND GO in Simulator, I get the…
WrightsCS
  • 50,551
  • 22
  • 134
  • 186
1
vote
0 answers

UIImage type of a image from _initWithIOSurface

I am trying to access pixel data of screen. Very strangely the method worked for ipad 3, but failed on ipod touch 4. First, I used some lines from FastBlurredNotificationCenter to grab a UIImage from the screen: IOSurfaceRef surface = [UIWindow…
wesley6j
  • 1,393
  • 9
  • 17
1
vote
1 answer

how to detect a password text field when running in the background?

I am developing a screen recorder and facing a crazy requirement. My boss would like to have an option for a user to automatically pause recording when the current view has a password field. (That view might belong to a third-party app.) So, is it…
patrick
  • 138
  • 1
  • 7