Created
June 29, 2015 03:30
-
-
Save Bayonetta/0f65a468ef9a96d810a9 to your computer and use it in GitHub Desktop.
查看可识别XXX url scheme的应用bundle id 列表
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
Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace"); | |
NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)]; | |
NSLog(@"openURL: %@",[workspace performSelector:@selector(applicationsAvailableForHandlingURLScheme:)withObject:@"XXX"]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment