iphone-privateapi

How to take screenshot for the entire screen no matter which app is at front most in iOS 7(Jailbroken)

和自甴很熟 提交于 2019-12-02 19:26:51
Before iOS7 I use UIGetScreenImage() function to take the screenshot easily, but in iOS7, it becomes deprecated, now are there any good methods to archive this?Thank you! Addition: I need take screenshot for the entire screen at any view cloudycliff I came across the same problem, but have no ideas how to solve it. I tried IOSurface - IOS Private API - Capture screenshot in background , which works well in some apps but returns a black screen in games. Then I tried this app https://github.com/k06a/UIView-FastScreenshot/blob/master/UIView%2BFastScreenshot.m , which works well using private apis

iOS otool to detect private apis [closed]

与世无争的帅哥 提交于 2019-12-02 18:55:41
I am a first time ios developer and cannot find any documentation on private apis. So I have been searching for some type of tutorial on how to use otool. The only certain thing that I can find is that I had to download the command line tools through xcode preferences. I also keep seeing references to linking it to the .app file, but I don't know where I can find this and how to use it in tool. Any links or suggestions? Victor Ronin Otool usage Here is official documentation Here is the question about otool usage: how to use otool Detect private api usage How does Apple know you are using

Does LSApplicationWorkspace not work on iOS 11?

空扰寡人 提交于 2019-12-02 18:23:26
I have an app in private which need to scan all applications and schemes and get it by using private API LSApplicationWorkspace defaultWorkspace with others functional method, such as privateURLSchemes allInstalledApplications . This app works good and I can get all I need from the private API before iOS 11, but in this version I only got some warning and an empty array. It seems Apple limits private API that developer can't use in private in iOS 11. So my question is what alternative ways can achieve my need in iOS 11? UPDATE: This method does not work on iOS 12 - entitlement required There

iOS 7 alternative to CTCall?

别等时光非礼了梦想. 提交于 2019-12-02 17:47:12
In our enterprise iOS app we used CTCallRef CTCallDial(CFStringRef number); to do calls from the app (and be able to hide the caller-id It does not seem to work in iOS 7. Has the API changed there? (I'm fully aware that this is a private API call and that it can change anytime, but I'm still hoping to find an alternative. Sadly I'm not savvy enough to know how to find all private API that is available) I think it requires you to sign your app with com.apple.coretelephony.Calls.allow entitlement. I found it in SpringBoard binary. Apple added a whole bunch of new entitlements. So we should

Detect which app is in foreground on iOS9 without jailbreak

♀尐吖头ヾ 提交于 2019-12-02 16:13:31
I'm trying to log users individual app usage on iOS9. I'd rather prefer that it wouldn't use jailbreak limited solutions , self explanatory. Doing the variation of this app on a jailbroken phone shouldn't be hard . This will certainly not be released on the App Store as Apple wouldn't allow it. I'm looking for any private API that can do this, any hidden iOS API's that can be used to do this. ANYTHING. What I've already looked through: how to determine which apps are background and which app is foreground on iOS by application id How to know about app launched and details jailbreak iOS 7 Is

Private unique device identifier in iOS

自闭症网瘾萝莉.ら 提交于 2019-12-02 14:18:20
We're working on a project with my colleagues which involves using a lot of private and non official code. This is not intended for AppStore use. The first and only requirement we have is to not use jailbreak. First of all, UDID or OpenUDID or any other solutions don't work here and they're not expected to. We've done a lot of background research and tests, starting with trying to get the IMEI , ICCID, IMSI and the Serial Number programatically. None of the above methods work with iOS 7 and above without jailbreak. We've also spent a couple of months to play with IOKit framework using the

How to fetch the list of near by wifi networks and able to connect to them from our App in ios (Using private API for enterprise App)?

a 夏天 提交于 2019-12-02 06:42:38
I want to fetch the list of near by wifi networks and able to connect to them from our App in ios, and my Application is Enterprise App so even private api's is also fine. Stuck this issue since 2 weeks, please provide me some references.. What you require will only work on JailBroken devices, the blog(blog.guvenergokce.com/iphone-wireless-scanner-ios5/170) which @Ckouta referred also has one comment from the Blog Admin, I’m assuming that your device is already jailbroken (otherwise not possible) You shall create release build of sample app and upload release build in to /Applications folder.

Getting exposure values from camera on iPhone OS 4.0

╄→尐↘猪︶ㄣ 提交于 2019-12-02 05:00:25
问题 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 is created. This all applies to 3GS. Has anything changed with iPhone OS 4.0? Is there a regular way to get these values now? Does anyone have a working code

How to simulate multi-touch with GSEvent on jailbroken device?

空扰寡人 提交于 2019-12-02 03:30:50
问题 I want to simulate multi-touch event on jailbroken device, I tried the GSEvent , I couldn't known each field of the structs, so I just assumed each pathInfo meant one finger info, but no effect, could anyone give me some help?Thank you very much. typedef struct touch { int identity; int x; int y; GSHandInfoType type; } touch; static void sendTouches(touch touches[]) { if (touches_count<1) { return; } uint8_t touchEvent[sizeof(GSEventRecord) + sizeof(GSHandInfo) + sizeof(GSPathInfo)*touches

Getting exposure values from camera on iPhone OS 4.0

拥有回忆 提交于 2019-12-02 01:22:49
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 is created. This all applies to 3GS. Has anything changed with iPhone OS 4.0? Is there a regular way to get these values now? Does anyone have a working code example for taking these camera/photo setting values? Thank you With AVFoundation in iOS 4.0 you can mess