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

Private API's for location spoofing in ios 7

Can anyone help me in searching for API's for Location spoofing,for all apps running on iPhone like application available on cydia (fake location etc.)
Abhishek
  • 267
  • 2
  • 11
1
vote
1 answer

Why pitchEnabled is considered as a private API?

Xcode failed to validate my app because This app references to non-public selectors in Payload/...: pitchEnabled #ifdef __IPHONE_7_0 if ([mapView respondsToSelector:@selector(pitchEnabled)]) { mapView.pitchEnabled = NO; mapView.rotateEnabled…
Laszlo
  • 2,803
  • 2
  • 28
  • 33
1
vote
2 answers

iOS device On/Off notification

I understand that this task requires Private API and the app is not designed for the AppStore. So, is it possible to know when the system(iOS) is switching to off state and when it wakes up? Maybe it sends some system notifications about that?
Pavlo Shadov
  • 382
  • 4
  • 16
1
vote
2 answers

Automation testing on OS level

I am working on an iOS application in which automation testing will be done on OS level( can open any application through script). I have searched a lot, all I found is we are allowed to automate the test script within our own application only.…
Hawk-Eye
  • 400
  • 1
  • 7
  • 23
1
vote
2 answers

Automatic phone dialing application for iPhone

I am trying to develop an application that can dial phone numbers at regular intervals from iPhone without user interaction. The problem is when the phone dialer app comes to foreground then my app goes to background. I tried using web view to call…
Rajat Saini
  • 557
  • 7
  • 26
1
vote
0 answers

Modifing the desktop of an apple device by code it is posible?

i was wondering if there is a way trough code to modify the look of the desktop of for example the iphone i mean do what you do manually that of grouping all the social applications like facebook , twitter etcc in a folder , theres a way of doing…
1
vote
0 answers

Can't use static type for new instance of a private framework class - why?

I'm currently trying to learn how to use private frameworks, just to gain some deeper understanding of these kinds of things. So, while experimenting with ToneLibrary.framework (See classdump), I noticed that I am able to work with existing…
Toastor
  • 8,980
  • 4
  • 50
  • 82
1
vote
1 answer

UIApplication fixed background fetch interval (private API welcome)

I'm working on an internal app that requires to check the server every 10 mins or so when the application enters background. Normally, I can use APNS when new record arrives. However, this app will completely skip Apple's garden, so no APN and yes…
marko
  • 1,721
  • 15
  • 25
1
vote
1 answer

how to make GSSendEvent call and simulate a touch event

Hi Geeks, I made an application which keeps running in the background for 1 hour(by playing music for 1 hour).Through this app i tried to simulate any touch events in another app. I followed the link …
Karthick Ramesh
  • 1,451
  • 20
  • 30
1
vote
1 answer

Using CoreTelephony framework to get IMEI and IMSI on iOS 7

Hi developers around the world, the app I am making is for in house distribution, we used some Apple's little secrets to get the app working as we want: like getting the IMEI and IMSI with methods described here: get IMEI on iPhone with…
Craig Zheng
  • 443
  • 1
  • 5
  • 17
1
vote
2 answers

unable to find SBLockScreenNotificationScrollView.h file in Springboard API

I'm working on an cydia substrate tweak and I have this line of code: double threshold = [SBLockScreenNotificationScrollView scrollThresholdForPasscodeScroll]; When I try to compile I'm getting these errors and warnings for the line. I've imported…
Connor Pearson
  • 63,902
  • 28
  • 145
  • 142
1
vote
3 answers

Is UIGetScreenImage() function removed in iOS7?

Before iOS7 I use UIGetScreenImage() to take screenshot of the entire screen at any view of the iOS, not only inside my tweak app but also views of other apps. In iOS7, when I use this function I got implicit declaration of function error, then I…
Suge
  • 2,808
  • 3
  • 48
  • 79
1
vote
1 answer

Getting refrence of current touch event similar to VoiceOver

I am developing an iphone app for my internal purpose(dont want to put it on App Store). I want Some functionality similar to built in VoiceOver Application in iPhone. In my app, i want my app to be kept in background, and when user touches to any…
Mehul Thakkar
  • 12,440
  • 10
  • 52
  • 81
1
vote
0 answers

Getting The element hierarchy of the given app

I want to make one internal application(not want to put it on AppStore). In which i have following scenario. I am putting my app(say "XApp") in background. Now, i open other app in foreground(Say "YApp"). Now, i want to get the current elements…
Mehul Thakkar
  • 12,440
  • 10
  • 52
  • 81
1
vote
1 answer

iOS 7 GraphicsServices private API?

I'm developing Cydia tweaks using Theos. I need to use some functions in the framework GraphicsServices. I've tried some simple function using GSEvent. ex: void GSEventVibrateForDuration(float secs); void GSEventLockDevice(); But it all…
Johnny
  • 2,589
  • 2
  • 27
  • 34