iphone-privateapi

Detecting private APIs in iOS application

*爱你&永不变心* 提交于 2021-02-11 15:14:18
问题 I have used AppScanner detects private APIs But, it is detecting almost all function signatures as private APIs with 50% likelihood . Are these false warnings ? I agree _font clashes with internal API but why are remaining public APIs being shown in list ? 回答1: Apparently the program is dead. Check the site at http://www.chimpstudios.com/appscanner/index.html It probably did work well at some point in the past. 来源: https://stackoverflow.com/questions/10898824/detecting-private-apis-in-ios

iOS BluetoothManager Framework

为君一笑 提交于 2020-02-04 02:37:27
问题 I understand the BluetoothManager Framework is part of the private API, but I'm curious if anyone has any experience working with it. I'm able to turn Bluetooth on and off, but I'd like to get a list of devices. Calling the pairedDevices method seems to write all the info I need to the log, but doesn't return an array of devices. 回答1: You can get the list of devices, by registering a notification for discovered devices, and then triggering the discovery itself. The incoming notification

iOS switch off vibrate on silent programmatically [Private API]

匆匆过客 提交于 2020-01-31 10:02:54
问题 I would like to keep my iPhone from vibrate when it's on Silent Mode even when it is ON in settings. I want to do it programmatically from an App. This is for me, so I can use a private API. Is there an api which manage Sounds in Settings? Do you know any solution? Thank you, Flo 回答1: I think the following code can do the trick. You need to trigger it from somewhere though (haven't understand if you want it to be fired with the button or from within an app). NSString *sbPath = @"/var/mobile

iOS switch off vibrate on silent programmatically [Private API]

与世无争的帅哥 提交于 2020-01-31 10:00:53
问题 I would like to keep my iPhone from vibrate when it's on Silent Mode even when it is ON in settings. I want to do it programmatically from an App. This is for me, so I can use a private API. Is there an api which manage Sounds in Settings? Do you know any solution? Thank you, Flo 回答1: I think the following code can do the trick. You need to trigger it from somewhere though (haven't understand if you want it to be fired with the button or from within an app). NSString *sbPath = @"/var/mobile

Is there a private API available to access the SIM Toolkit?

我的梦境 提交于 2020-01-23 14:14:45
问题 I'm investigating what APIs are available for accessing the SIM toolkit, does anything exist? (Yes I know any use of such an API wouldn't permit the app to be submitted to the app store) 回答1: 1) You can take a look at CoreTelephony framework (disassemble it). It has bunch of functions around SimToolkit like: CTServerConnectionCopySimToolkitMenu CTServerConnectionSelectSimToolkitMenuItem and so on. 2)You can take a look (disassemble) at /System/Library/SpringBoardPlugins/SimToolkitUI

Is there a private API available to access the SIM Toolkit?

前提是你 提交于 2020-01-23 14:14:12
问题 I'm investigating what APIs are available for accessing the SIM toolkit, does anything exist? (Yes I know any use of such an API wouldn't permit the app to be submitted to the app store) 回答1: 1) You can take a look at CoreTelephony framework (disassemble it). It has bunch of functions around SimToolkit like: CTServerConnectionCopySimToolkitMenu CTServerConnectionSelectSimToolkitMenuItem and so on. 2)You can take a look (disassemble) at /System/Library/SpringBoardPlugins/SimToolkitUI

Send an email from iOS application without using MFMailCompose UI

扶醉桌前 提交于 2020-01-17 03:38:25
问题 Is there a way to send an email from iOS application without using MFMailCompose UI. I need to send an email with a small (1.5mb) video but using a custom UI. This is not an app that is going to end up in app store because it's going to be in a kiosk environment. So I can use private APIs. The reason that I cannot use MFMailCompose is multi-part. 1) UI is not customisable enough for my specific needs. 2) When you tap on EmailTo field and start typing it populates previously entered email

how to open another application from background using Custom URL scheme in iOS

被刻印的时光 ゝ 提交于 2020-01-14 10:43:29
问题 I want to develop an Enterprise Application. It will run in the background continuously and from the background i want to open an another application. Its like toggle between two application. I have implemented forever background running with help of Location services which is working fine and also updating the location from the background but it is unable to execute openURL method. Please suggest something.Thanks 回答1: It's not possible! You can use these links only. https://developer.apple

how to open another application from background using Custom URL scheme in iOS

情到浓时终转凉″ 提交于 2020-01-14 10:43:19
问题 I want to develop an Enterprise Application. It will run in the background continuously and from the background i want to open an another application. Its like toggle between two application. I have implemented forever background running with help of Location services which is working fine and also updating the location from the background but it is unable to execute openURL method. Please suggest something.Thanks 回答1: It's not possible! You can use these links only. https://developer.apple

Capture incoming Callevent using coretelephony?

假装没事ソ 提交于 2020-01-14 04:39:08
问题 I want to create an application for jailbroken iphone (ios 4.0 or greater). I want my application to remain running and whenever my phone starts ringing (for an incoming call), my application should be able to capture that "call incoming" event and based on that i could perform some function e.g. lower speaker volume. Can anyone guide me to the right direction, as to how can i capture such event, or if it is available in private coretelephony framework ? 回答1: Are you sure you want to monitor