iphone-privateapi

iOS 8 - How to determine the foreground app as well as get list of running apps

空扰寡人 提交于 2019-12-03 11:21:55
On iOS 7.0 and below, SBFrontmostApplicationDisplayIdentifier from the Springboard framework specified the app running in the foreground, but that capability has been blocked (considered as a vulnerability, see the Common Vulnerabilities and Exposures page dedicated to it here ) in iOS 8. Does anyone have an iOS 8 alternative for this? It is not possible to do it on iOS 8 since a vulnerability was discovered. More info here: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-4361 来源: https://stackoverflow.com/questions/26161001/ios-8-how-to-determine-the-foreground-app-as-well-as-get-list

Simulating system-wide touches in iOS 7

纵饮孤独 提交于 2019-12-03 10:17:54
问题 GSSendEvent does not work anymore for me. Even subscribing a callback function using GSEventRegisterEventCallBack does not fire with touch events, [UIEvent _gsEvent] returns NULL. What happened? 回答1: Now iOS uses IOHIDEvent (in IOKit.framework) for touch events. backboardd create touch events and sent to SpringBoard, and SpringBoard receives it by UIApplicationHandleEventQueue Anyway, if you have jailbroken device and want to simulate touch, just use SimulateTouch library. You can download it

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

血红的双手。 提交于 2019-12-03 06:51:13
问题 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 回答1: 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

Does LSApplicationWorkspace not work on iOS 11?

廉价感情. 提交于 2019-12-03 05:09:19
问题 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

iOS otool to detect private apis [closed]

此生再无相见时 提交于 2019-12-03 04:40:41
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 6 years ago . 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

iOS 7 alternative to CTCall?

瘦欲@ 提交于 2019-12-03 04:36:54
问题 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) 回答1: I think it requires you to sign your app with com.apple.coretelephony.Calls.allow

Detect which app is in foreground on iOS9 without jailbreak

人走茶凉 提交于 2019-12-03 02:38:53
问题 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

Private unique device identifier in iOS

南楼画角 提交于 2019-12-03 00:58:59
问题 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

Simulating system-wide touches in iOS 7

坚强是说给别人听的谎言 提交于 2019-12-03 00:47:20
GSSendEvent does not work anymore for me. Even subscribing a callback function using GSEventRegisterEventCallBack does not fire with touch events, [UIEvent _gsEvent] returns NULL. What happened? Now iOS uses IOHIDEvent (in IOKit.framework) for touch events. backboardd create touch events and sent to SpringBoard, and SpringBoard receives it by UIApplicationHandleEventQueue Anyway, if you have jailbroken device and want to simulate touch, just use SimulateTouch library. You can download it from Bigboss's repo, and API info is here http://api.iolate.kr/simulatetouch/ Also, this is open source.

Programmatically send iMessage using private frameworks

余生长醉 提交于 2019-12-03 00:34:23
Does anyone know if it's possible to directly send an iMessage using a private framework? I tried using CTMessageCenter from CoreTelephony but it'll send an SMS even though my phone can send iMessages. I haven't tested this, but look at the code posted here . If you look at httpResponseForMethod:URI: , you see where he/she sends a message (appears to be hardcode to support iOS 5 or iOS 4 ): CKSMSService *smsService = [CKSMSService sharedSMSService]; //id ct = CTTelephonyCenterGetDefault(); CKConversationList *conversationList = nil; NSString *value =[[UIDevice currentDevice] systemVersion]; if