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

An error during using ChatKit.framework

I used ChatKit.framework in jailbreaked project. When I compile the project, I got a error like this: Undefined symbols for architecture armv7: "_OBJC_CLASS_$_xxxxx", referenced from: objc-class-ref in main.o ld: symbol(s) not found for…
Kevin Lee
  • 282
  • 3
  • 13
1
vote
0 answers

CTTelephonyCenterAddObserver Private API not receiving disconnected event when call is connected and duration of call is more than 5/6 sec

I am using CTTelephonyCenterAddObserver(ct, NULL, callback, NULL, NULL, CFNotificationSuspensionBehaviorHold); to log the phone calls. Here is the code of call back method static void callback(CFNotificationCenterRef center, void *observer,…
1
vote
1 answer

How to use class-dump to find where your iOS application uses private content

I can't figure out how I'm supposed to use class-dump to see where my application accesses private content. I am getting the error "The app references non-public symbols in Payload/My App.app/My App: locale_charset". However, I think it would be…
RileyE
  • 10,874
  • 13
  • 63
  • 106
1
vote
1 answer

iPhone incoming call view class?

I´m developing a theos tweak and I would like to modify mainly the incoming call view (iOS 5 and iOS 6). I would appreciate the name of the class that handle this view for hook into it´s methods. I already try MPIncomingPhoneCallController and…
Alejandro Cotilla
  • 2,501
  • 1
  • 20
  • 35
1
vote
2 answers

What is an undocumented method and a private API?

Recently I have get a reject from Apple because a use of a private API. I don't know exactly what is a private API nor an undocumented method. Could someone explain me what is an undocumented method and a private API? I'm really confused with…
VICTORGS3
  • 203
  • 3
  • 13
1
vote
0 answers

How to disable notification center on iOS using private API?

I have an app which is in foreground and I want to disable notification center UI in it (so a user can't open it). And I am looking for an API (or at least direction of search) to disable notification center UI or prevent a user from opening…
Victor Ronin
  • 22,758
  • 18
  • 92
  • 184
1
vote
1 answer

IOHIDEventSystemClientScheduleWithRunLoop with EXC_BAD_ACCESS

I'm trying to get touch events in my application. So I used the IOHIDFamily callback to get the events. My code is like this: void handle_event(void* target, void* refcon, IOHIDServiceRef service, IOHIDEventRef event) { printf("Received event…
Kevin Lee
  • 282
  • 3
  • 13
1
vote
1 answer

Get list Internet Access Point programmatically on iOS

How to get list Internet Access Point programmatically on iOS? Are there any public or private API's to do this?
Huy Tran
  • 217
  • 5
  • 11
1
vote
1 answer

Switch call to speaker - iOS private api

I'm trying to figure out how I can switch a current call to output audio via the loudspeaker (as if the person was to press "speaker" on the phone app. Ideally, I want to accept the call on loudspeaker; but one step at a time! I have searched…
cud_programmer
  • 1,244
  • 1
  • 20
  • 37
1
vote
0 answers

catch event on Power button + home key press together on Ios device

I am wondering to know, is there is any private framework for catch the event for Power button + home key press together for switch off ios device. when user press these buttons together instead of power off, I need to open another application or…
Rathakrishnan Ramasamy
  • 1,612
  • 2
  • 25
  • 46
1
vote
1 answer

Using of PrivateFrameworkHeader-iOS-iPhone-5 API

I stuck a little bit at an easy seeming task... Developing a cycript-based application that retrieves the information which app has to be installed on the device. The cy-script navigates to the downloadpage (Apple AppStore) of the app…
eppej
  • 119
  • 17
1
vote
1 answer

Gesture Recognition on iOS devices

I am working on gesture recognition on iOS devices. The official documentation at http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/MultitouchEvents/MultitouchEvents.html is useful to understand how…
1
vote
0 answers

Obtaining the iPad Screen display at a lower resolution with createScreenIOSurface

I have been working on screen capture on iOS devices and system level API's like IOSurface, IOMobileFramebuffer etc. both out of interest and need. In extension to the answer mentioned in Creating an image out of the ios surface and saving it by…
Hrishikesh_Pardeshi
  • 995
  • 4
  • 19
  • 45
1
vote
1 answer

How to launch Applications without URL Schemes and without touching the icon on a non jailbroken iDevice?

I like to build an app to view specific apps without URL scheme I have heard about a Framework called SpringBoardServices but there is always a Linker Error As far I use this code with the SpringBoardServices.h file SpringBoardServices.h: #define…
David Gölzhäuser
  • 3,525
  • 8
  • 50
  • 98
1
vote
1 answer

Is there any private api to detect camera access by different apps on iphone?

I need to implement an app that monitors camera use i.e. which app used camera (started/stopped) on iPhone. my app is going to run in background using apple's background multitasking feature for voip and navigators. I can use private api as my…
virata
  • 1,882
  • 15
  • 22