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

How to use private frameworks in iOS

I am trying to use private frameworks in my app which is not going to app store. Can anyone guide me, how to use private headers generated using class-dump in my ios application. Below link is listing some private frameworks generated using…
user2533604
  • 655
  • 1
  • 11
  • 28
0
votes
1 answer

"The app references non-public selectors in Payload"

There are two SO questions I found that address debugging this: Here and here (1) One question recommends doing "otool -tv | grep CFUserNotification to the binary". Of course I changed out CFUserNotification for _deviceInfoForKey. I get…
OdieO
  • 6,836
  • 7
  • 56
  • 88
0
votes
4 answers

Distinguishing between private and public classes/api in ios at runtime

I am finding the view hierarchy of one of the view in iOS Application. When i was parsing the view hierarchy(by using command view.superview in loop and printing the view description), i got many objects of the private classes like…
Mehul Thakkar
  • 12,440
  • 10
  • 52
  • 81
0
votes
2 answers

The app references non-public selectors in Payload/App Name.app

I'm getting an issue upon validating my application saying that I'm accessing a non-public selector cancelButtonPressed:. This selector is being called in my static library like this: else if([self.delegate…
RileyE
  • 10,874
  • 13
  • 63
  • 106
0
votes
1 answer

Apple warns my app is using non-public selectors when submitting the app

The warning says "The app references non-public selectors in Payload/MyApp.app/MyApp:createEntity" . Does this mean I've used createEntity from Apple's private API somewhere? I've searched my project but all the place that I've used createEntity is…
newguy
  • 5,668
  • 12
  • 55
  • 95
0
votes
1 answer

How to suppress "Availability does not match previous declaration" warning

I have to use some private functions, like: SCDynamicStoreRef SCDynamicStoreCreate ( CFAllocatorRef allocator, CFStringRef name, SCDynamicStoreCallBack …
Sergey Demchenko
  • 2,924
  • 1
  • 24
  • 26
0
votes
2 answers

Can we use Touch ID in an app?

Can I use Touch ID (or the framework it's built from?) in an iOS 7 app? For example, have the user swipe their finger to unlock an account or page? This page makes me think you can, but I can't seem to find any examples so I'm not sure. I see that…
Wesley Smith
  • 19,401
  • 22
  • 85
  • 133
0
votes
1 answer

How to get the details of apps installed in a device in my app

is there any way i can have an access to the name of applications that are installed in the current device in my app. is there any api's to get hold of this. thanks
Gani
  • 709
  • 3
  • 13
  • 21
0
votes
1 answer

How can I tell of which type the argument for a private framework method has to be?

I'm currently playing around with private frameworks, mostly for the sake of it. To give it a little sense, I have set myself the goal of getting a ringtone installer (just like Garage Band is able to install ringtones) to work on a non-jailbroken…
Toastor
  • 8,980
  • 4
  • 50
  • 82
0
votes
0 answers

How can I programatically passcode lock my iphone?

Is it possible to programatically password lock an iPhone? My iphone is jailbroken , i can use private Apis & the app is not for app store. I don't want answers just bluntly saying "Apple does not allow that". I know there would be no official way…
zzzzz
  • 1,209
  • 2
  • 18
  • 45
0
votes
1 answer

How to get the instance(UIApplication) of the front most application from SpringBoard tweak in iOS?

I need get the UIApplication instance of the current front most app.I use [UIApplication sharedApplication] but get only the instance of SpringBoard, does any one know how can I do it?Thank you.
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
1 answer

How to get bundle identifier of application by context id or by mach port in iOS 7(Jailbroken)?

I now we can use contextIdAtPosition method to get context id of the front most application, but how can I use context id to get the bundle identifier of the front most application?Thank you!
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
2 answers

How to get task port of SpringBoard in iOS7 (Jailbroken)?

I know we can use contextIdAtPosition and taskPortOfContextId to get the mach_port_t of the front top app, but when inside some app, we can not use contextIdAtPosition to get the context id of SpringBoard (it's at background), so how can we get the…
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
1 answer

How to detect if it's inside Backboardd in my tweak of iOS?

I want to inject some functions to Backboardd, because of some reasons, I can not use plist to restrict it, so I want to use "if" to determine whether it's inside Backboardd.I know in 'Logos' I can use like that: %ctor{ if (%c(SpringBoard)) { …
Suge
  • 2,808
  • 3
  • 48
  • 79
0
votes
0 answers

How to find wifi/cellular signal strength in ios

Hi in my application I have to implement two features. Find wifi's available around me and finding those wifi's signal streangth. Find Carrier signal's available around me and finding those signal streanghts. Can anyone please let me know how can…
Naresh
  • 363
  • 1
  • 18