Last active
October 22, 2015 09:36
-
-
Save heumn/2c59a0a4ce1cbf3a97ef to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#warning DO NOT LEAVE IN PRODUCTION | |
@interface PrivateApi_LSApplicationWorkspace | |
- (bool)openApplicationWithBundleID:(id)arg1; | |
@end | |
@implementation UIApplication (CHROpenTestFlight) | |
+ (void)chr_openTestFlightAppIfPossible { | |
PrivateApi_LSApplicationWorkspace *workspace = [NSClassFromString(@"LSApplicationWorkspace") new]; | |
[workspace openApplicationWithBundleID:@"com.apple.TestFlight"]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment