Search code examples
ios7jailbreaktheostweakspringboard

How to know about app launched and details jailbreak iOS 7


I am making a tweak for iOS 7, in which I want to know about app launch event, and the details of app being launched (name and identifier). So far the only useful framework I have found is SpringBoardServices.framework. The header files which may be/are useful to track app launch event include:

  • SBAppLaunchUtilities.h
  • SBLaunchAppListener.h

If I am on right track, can anyone provide me information about their methods usage? There is no relevant information or guide present on iphonedevwiki.

Moreover, How can I get information about app launched? I have studied Andy ibanez's tutorial. It hooks SBApplicationIcon class, which I guess has been removed from iOS 7 frameworks because I can't find it in dumped frameworks. So what is alternate header? Is it SBSCardItem.h and SBSCardItemsController ?

Looking forward for help. Thanks.


Solution

  • You need to look into SpringBoard.app instead of SpringBoardServices.framework. SpringBoard app comes "alone" because like it's extension implies, it's an app, and not a framework that can be found in the entire Private Frameworks.

    You can get a lot of info from the SBApplicationIcon class in SpringBoard, such as the app display name and things like that. Check the headers for more info.