iphone-privateapi

Check if app has a notfication using private frameworks?

对着背影说爱祢 提交于 2019-12-01 08:35:13
问题 I'm writing a mobilesubstrate tweak for jailbroken devices that displays an icon in the statusbar if a defined app has a notification using libstatusbar I'm having trouble locating where iOS keeps this notification info for each app. Could anyone point me in the right direction/framework? I don't intend on submitting this to Apple, again it's for jailbroken devices. Thanks SO. 回答1: I believe there are two notifications which looks similar, but internally goes through different execution

Retrieving UDID via private API

狂风中的少年 提交于 2019-12-01 06:54:18
I'm looking for a way to retrieve the UDID on devices running iOS 6+ (Enterprise deployment only - no app store limitations). Calling the (now private) method uniqueIdentifier returns the 'vendorIdentifier' starting with 'FFFFFFF'. Unfortunately thats not what I want. Any ideas? Is there another private method or something? Thanks in advance. I recommend you reading this article . To sum up: The previously deprecated uniqueIdentifier now works like vendorIdentifier on iOS 7+, so it's no longer usable even for Enterprise Apps OpenUDID cannot be shared between Applications on iOS 7+ and now can

Retrieving UDID via private API

感情迁移 提交于 2019-12-01 05:16:57
问题 I'm looking for a way to retrieve the UDID on devices running iOS 6+ (Enterprise deployment only - no app store limitations). Calling the (now private) method uniqueIdentifier returns the 'vendorIdentifier' starting with 'FFFFFFF'. Unfortunately thats not what I want. Any ideas? Is there another private method or something? Thanks in advance. 回答1: I recommend you reading this article. To sum up: The previously deprecated uniqueIdentifier now works like vendorIdentifier on iOS 7+, so it's no

Is there any private api for iphone that detect sms sent or received [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-01 00:41:16
I need to implement an app that detect an event when sms are received or sent on iPhone.Reading Sms is not required. 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 client doesn't need this app on appstore. Thanks. It's definitely possible to detect when an SMS has been received or sent without jailbreaking the device, but I believe you can only access the phone number of the SMS, and not the actual message text. You need to link against the CoreTelephony private api, and then register an event observer

Getting signatures of private API methods for iOS

爱⌒轻易说出口 提交于 2019-12-01 00:21:06
I know that SpringboardService contains a lot of private API's (as example: SBGetApplicationState, SBDimScreen etc). I got the list of these methods using "nm" tool. I want to find a tool which will let me get signatures for these private API methods. As I understand SBGetApplicationState is a C call (vs Objective C method). So I am not sure whether it's possible to recover signatures without disassembling and additional manual actions. However, I hope that at least semi-automated process exist. Several notes: a) I have seen this link (iOS Runtime private headers): https://github.com/nst/iOS

Getting signatures of private API methods for iOS

丶灬走出姿态 提交于 2019-11-30 18:11:18
问题 I know that SpringboardService contains a lot of private API's (as example: SBGetApplicationState, SBDimScreen etc). I got the list of these methods using "nm" tool. I want to find a tool which will let me get signatures for these private API methods. As I understand SBGetApplicationState is a C call (vs Objective C method). So I am not sure whether it's possible to recover signatures without disassembling and additional manual actions. However, I hope that at least semi-automated process

How to turn on VPN from iOS app? (Private APIs OK)

淺唱寂寞╮ 提交于 2019-11-30 14:11:34
问题 When an iOS Device goes into "sleep mode", even a configured VPN is, unfortunately, turned off. A customer that wants an app for his iPad has to use VPN for security, so anything must be done through VPN. The app has to synchronize a lot, but the iOS device might turn off the VPN by itself. That's why I just need to trigger it again every time i need an internet connection (or keep it alive ). Do any of you guys have anything in mind? Even using Private API is ok (the app will only be

iOS How to use private API?

廉价感情. 提交于 2019-11-30 13:58:10
I don't want to submit this app to AppStore. I've tried for many times but met so many problems :( I use class-dump to get all the header files of UIKit.framework. In the UIApplication.h generated by class-dump, I saw the method I want to use----launchApplicationWithIdentifier. Then I put UIApplication.h in my project and import it. Compile, I got a lot of "Redefinition of enumerator...." error because in the UIKit.framework I use previous, there's another UIApplication.h. But this file doesn't have the method launchApplicationWithIdentifier. If I delete the previous UIKit.framework and import

How to import a private framework in Xcode 8.3 without getting “Undefined symbols for architecture arm64”

我们两清 提交于 2019-11-30 10:36:12
I am trying to use _CDBatterySaver to turn on low power mode simply using [[_CDBatterySaver batterySaver] setMode:1]; I know there isn't the same type of directory as previous Xcode so those methods don't work. I have also tried just importing the ".h" file but that doesn't work. It is part of the CoreDuet framework (downloaded from GitHub) Thanks You will need a .tbd file to link against. Apple stopped shipping these for private frameworks starting with the iOS 9.3 SDK, but you can generate them yourself with a bit of effort: Get an IPSW for some recent iOS version ( ipsw.me or the iPhone

iOS - Screen sharing in Perfecto Mobile

烈酒焚心 提交于 2019-11-30 10:16:18
We were exploring various test suites for mobile automated testing and ran into this company called Perfecto Mobile. One of the features that blew me away was they are able to (without jailbreaking) effectively perform a "Remote desktop" on a physical iPad. So, the iPad's screen is mirrored within a web application, it can register touch / swipe events on the web app and perform them on the device. The only relevant technical detail I have is that all this is being performed using commands sent over the USB cable. I'm really curious as to how this is implemented and details on relevant Private