Created
November 25, 2021 14:18
-
-
Save NSEcho/0125ce0d26dd33808afd2dc3e3458766 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
ObjC.choose(ObjC.classes.UIAlertController, { | |
onMatch: function(instance) { | |
ObjC.schedule(ObjC.mainQueue, function() { | |
instance.dismissViewControllerAnimated_completion_(true, ptr(0x0)); | |
}) | |
}, | |
onComplete: function(){} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment