Created
July 31, 2017 03:13
-
-
Save samjarman/8091e8e85d8a9de282ed9458a71e9092 to your computer and use it in GitHub Desktop.
Force kill iOS app programmatically
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
@interface UIApplication(InternalAppAdditions) | |
- (void)terminateWithSuccess; | |
@end | |
#warning: This is private API. Do not try to submit this line to TestFlight or the App Store. | |
[[UIApplication sharedApplication] terminateWithSuccess]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment