Created
September 22, 2020 13:21
-
-
Save wabzqem/bab400b3757324d177b3b030d923e36a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function launchInfoViewController() { | |
ObjC.schedule(ObjC.mainQueue, function() { | |
var application = ObjC.classes.UIApplication.sharedApplication(); | |
var viewController = application.keyWindow().rootViewController(); | |
viewController.presentedViewController().performSegueWithIdentifier_sender_("HomeToDebugSegue", NULL); | |
}); | |
} | |
// Sloppy and good enough. Wait for the Main VC to be presented. | |
setTimeout(launchInfoViewController, 7000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment