iphone-privateapi

Video shooting in iPhone

Is there any way to capture video from iPhone? Vishal N ...

Merging camera images causes SpringBoard to terminate application

I'm traversing the view hierarchy of the camera view and grabbing the image from the view like this: CGImageRef img = (CGImageRef)[cameraView imageRef]; // undocumented api... I then run it through a transformation to rotate it back to the correct orientation. Once in the correct orientation, I merge another image on top of it with a ...

How to get "C" written frameworks' headers?

Hi. I have a question for those iPhone hackers. People using private apis know that their private headers are dumped using a tool called 'class-dump'. As I know, this tool only dumps Objective-C headers. Is there any way to dump C headers? For example, GraphicsService, a framework on iPhone. Some guys successfully generated its header...

Is it possible to get carrier time using private or public api on iPhone SDK?

Hi Is it possible to get the cell network time using public or private API? ...

iPhone Background App in Ad-hoc distribution?

I need to be able to ensure that the iphone is always connected to a network. If it loses reception I need to be able to warn the user. Since the only way I see this working is using a background process is it possible to use private APIs so that the app can run in the background. I know it can be done with Jailbroken phones but I would...

Apple and private APIs

Now that it's public knowledge that App Store submissions are being tested for use of private APIs, I need to ask the question... what exactly is a private API so that I may avoid them? ...

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. Microsoft tag. Quickmark and Redalaser all use the UIGetScreenImage (it's obvious) but I want...

How to detect & avoid the use of private APIs in third party libraries

Now that Apple is running some kind of static analysis to automatically check for private API use, a number of people have been caught because of the Three20 library. I use another third-party library (which I compile myself from code) and I would like to automatically audit it for private API use before I submit to Apple, so I can elimi...

Alternative method for NSURLRequest's private "setAllowsAnyHTTPSCertificate:forHost:"?

My iPhone application was rejected solely for using the (very safe, it seems) private method +setAllowsAnyHTTPSCertificate:forHost: for NSURLRequest. Is there a non-private API to emulate this functionality? ...

Banned 3rd party private APIs for in App Store approval process ??

Hello , I am just about to finish my first iPhone application. I have heard of apps rejected for the use of some private APIs . I am also using some private APIs like ASIHTTPRequest , MBProgressViewHUD. So tell me are these or any other private APIs that are rejected for which I should make sure not to use them now or in future appli...

iPhone App rejected because of Three20 private API undocumented, private UITouch instance variables:

I got a notification mail after submitting my iphone application to apple store.. "During our review of your application we found it is using private APIs, which is in violation of the iPhone Developer Program License Agreement section 3.3.1; "3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must no...

Why doesn't Apple make private APIs inaccessible?

If Apple doesn't want developers using private APIs in the iPhone SDK, why don't they do something like mark the classes and/or methods with whatever the Objective-C equivalent of C#'s "internal" keyword? If the APIs are spread amongst multiple binaries, Apple could refactor them into dedicated private-API-only binaries to make this eas...

How to use iPhone SDK Private APIs

I haven't found a comprehensive list of the steps that are required to use a private API from the iPhone Library. In particular, I would like to know how to get header files, if they are even required, how to get it to compile (when I simply add the header, it complains that the functions aren't defined), and what resources one can use ...

How does Apple know you are using private API?

I only submit the binary file to Apple. I didn't submit any source code to Apple. Apart from manually check what you used. How Apple check what API you have called? How did Apple know? ...

Getting exposure values from camera on iPhone OS 4.0

Exposure values from camera can be acquired when you take picture (without saving it to SavedPhotos). A light meter application on iPhone does this, probably by using some private API. That application does it on iPhone 3GS only, so I guess it may be somehow related to EXIF data which is populated with this information when the image i...

iphone mms help...

guys how to i use private framework to send mms out? i able to send sms using coretelephony framework but how i send mms.. please help.. ...

Alternatives to NSHost in iPhone app

I'm currently using this code NSHost *host = [NSHost hostWithAddress:hostname]; if (host == nil) { host = [NSHost hostWithName:hostname]; if (host == nil) { [self setMessage:@"Invalid IP address or hostname:"]; return; } } to retrive my IP Address for a networking app I'm working on, however I'm aware t...

Check for private API "usage" yourself?

So, we all know Apple forbids using private or undocumented APIs in iOS apps. I have no problem with this, as there are sound technical reasons for why this is a good idea. However, twice now I've had an app rejected for using private APIs, when this was not actually the case. It's not difficult -- the private APIs include symbols like c...

Any non-private API alternative for this?

My app was recently rejected due to using a private API (addTextField: method for UIAlertView, which is quite useful, might I add). Is there any non-private alternative to UIAlertView's undocumented addTextFieldWithValue:label:? Thanks SO much in advance! ...

Usage of private API properties in older iOS, public in newer iOS.

Hello everyone ! I know it is forbidden to use private API functions or classes, because they can change in a future version of iOS. So I wondering if it is allowed if a private function is now public in a new iOS. My example is MPMoviePlayerController which has a private property called currentTime in iOS before 3.2. Starting version ...