TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Nov 2015 |
Maintained by snaill.
Depends on: | |
ShareOne | >= 0 |
SVProgressHUD | >= 0 |
ShareReader是由分享派提供内容展示的SDK,通过ShareReader,您可以将您创建的内容嵌入到您的APP中,适用于系统帮助、特性展示等场景。
pod ShareReader
将ShareReader嵌入您的APP中pod "ShareReader"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
[ShareOne registerWX:@"wx11111"];
[ShareOne registerQQ:@"22222"];
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
return [ShareOne handleOpenURL:url];
}
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
return [ShareOne handleOpenURL:url];
}
#import <ShareReader/ShareReader.h>
UIViewController * vc = [ShareReader readerWithID:@"P-xxxx-xxxx-xxxx-xxxx-xxxxxxx"];
[self.navigationController pushViewController:vc animated:YES];
ShareReader is available under the MIT license. See the LICENSE file for more info.