How to know about app launched and details jailbreak iOS 7

孤者浪人 提交于 2019-12-11 08:29:37

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/23889630/how-to-know-about-app-launched-and-details-jailbreak-ios-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!