springboard

List of all apps installed on iOS device and their position on the Home Screen (Springboard)

老子叫甜甜 提交于 2019-12-09 17:44:09
问题 I've been searching several days for a descent answer on how to acquire the list of installed applications on a device running iOS > 5.0 (com.apple.mobile.installation.plist). I've tried codes from different sources and the only almost successful solution I got was with shared URL scheme approach using Daniel Amitay API (http://www.ihasapp.com) - thumbs up for it - great job! But with the URL scheme I wasn't able to get all installed apps on the device cause not all of them have shared URL

iOS without Springboard: Terminating since there is no system event server

最后都变了- 提交于 2019-12-09 15:01:37
问题 I'm attempting to create a simple ("Hello World") application using IB vs Springboard. Once I added a button with its connection to an action routine, I get the following: Terminating since there is no system event server. (Run the EventPump or pass the argument "-RegisterForSystemEvents" if you want to run without SpringBoard. Can someone please clarify this? 1) What's an 'EventPump' and how is it implemented? 2) Where do I pass the 'RegisterForSystemEvents'? I searched through the Apple

Detect passcode lock state from Home screen

别等时光非礼了梦想. 提交于 2019-12-08 09:39:33
问题 I would like to know if there is any way (should be approved on Appstore) to detect when device passcode is activated on Home screen. Basically, my app would like to know those phone events: device screen turn on/off phone lock/unlock (by Auto-Lock setting / press Power button) passcode activate (by Require Passcode setting) As far as I research, I could achieve 1 & 2 by combine Darwin Notification Center & notify_get_state with 4 events: com.apple.springboard.lockstate com.apple.springboard

Can you find individual app usage duration using SpringBoard services framework or other private framework?

霸气de小男生 提交于 2019-12-08 02:43:19
问题 I have a background service running on iOS5. I am trying to find the duration for which each foreground application runs. I came across this great post by Vikarti Anatra. how to determine which apps are background and which app is foreground on iOS by application id This shows how to get the current foreground process. However, what I would like to know is if there is a method which will give me the start time of various processes launched by Springboard so I can compute the duration. I am

iOS event/notification for network activity up/down/off

半城伤御伤魂 提交于 2019-12-07 13:45:01
问题 I want a event/callback for my iOS app when the network activity goes from none to up (and the other way around). Similar to how Android does with onDataActivity(). I'm not talking about Reachability but when data actually starts or stops transmitting. The app is not for App Store and not for jailbreak. I have got a similar functionality of detecting when the screen goes on/off working by using CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), //center NULL, //

iOS - Creating a SpringBoard screen

非 Y 不嫁゛ 提交于 2019-12-06 07:36:09
I'm trying so create a collection view that behaves like the iOS springboard screen. That means that I want to have a collection view, with all of my items, and to have a page controller underneath the grid (just like the springboard screen). I also want to implement the same edit mode, meaning that one my icons are in edit mode, I can drag them from one page to another, in such a way that a page doesn't have to be full. I've tried to set a single collection view to scroll horizontally, but it doesn't act as I want. first of all, the icons are added one below the other, instead of one beside

Can you find individual app usage duration using SpringBoard services framework or other private framework?

℡╲_俬逩灬. 提交于 2019-12-06 07:23:59
I have a background service running on iOS5. I am trying to find the duration for which each foreground application runs. I came across this great post by Vikarti Anatra. how to determine which apps are background and which app is foreground on iOS by application id This shows how to get the current foreground process. However, what I would like to know is if there is a method which will give me the start time of various processes launched by Springboard so I can compute the duration. I am trying to create a log of apps launched by my users. This is not meant for app store certification and

iOS event/notification for network activity up/down/off

纵饮孤独 提交于 2019-12-05 18:36:45
I want a event/callback for my iOS app when the network activity goes from none to up (and the other way around). Similar to how Android does with onDataActivity(). I'm not talking about Reachability but when data actually starts or stops transmitting. The app is not for App Store and not for jailbreak. I have got a similar functionality of detecting when the screen goes on/off working by using CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), //center NULL, // observer displayStatusChanged, // callback CFSTR("com.apple.iokit.hid.displayStatus"), // event name NULL,

How to use Springboard Services Framework to use SBSLaunchApplicationWithIdentifier

风格不统一 提交于 2019-12-04 19:34:36
I would like to use the Springboard services framework to make use of the following code. SBSLaunchApplicationWithIdentifier(CFSTR("com.apple.preferences"), false); However when I download the header files and use it in my project it won't build. Please let me know how to make this work. What exactly are you planning on using that method for? I was under the impression it was for launching an application from a daemon? There are other ways to launch an application quite easily. The most reliable I have found is to use the display stacks to launch the application properly. Other methods of

Dynamic icon iOS [duplicate]

感情迁移 提交于 2019-12-04 01:48:42
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Changing Icon per Day How to make a dynamic icon? For example in the calendar. Each day the number is changes to the current. Is it possible to implement this in my application? 回答1: This isn't currently possible without a jailbreak 来源: https://stackoverflow.com/questions/11884260/dynamic-icon-ios