How to simulate a home button click event in iOS 7 (Jailbroken)?

How to simulate a home button click event in iOS 7? I tried, but it worked only on the main screen, but not inside other applications. The problem is mainly related to port , it seems that if I got the task port of SpringBoard , it works, otherwise not. But how can I get the task port from SpringBoard whether on the main screen or in other applications? Thanks!

+7
ios objective-c jailbreak iphone-privateapi tweak
source share
2 answers
 [[%c(SBUIController) sharedInstance]clickedMenuButton]; //One tap [[SBUIController sharedInstance] handleMenuDoubleTap]; //Double tap [[%c(SBUserAgent) sharedUserAgent] lockAndDimDevice] //Lock button 
+7
source share

Please check the following links:

1) http://iphonedevwiki.net/index.php/SBApplication

2) Simulate all physical buttons, for example, pressure on the home button on iOS 7 (jailbreak)

3) https://github.com/MP0w/iOS-Headers/blob/6e220684809a8e581357c1622efcc002a1df5014/iOS7/PrivateFrameworks/BiometricKit/BiometricKit.h#L68

We hope these links help you solve your problem. Greetings :)

0
source share

All Articles