测试已测试 | ✗ |
languages语言 | Obj-CObjective C |
许可证 | MIT |
发布最后发布 | 2015年11月 |
由snaill维护。
依赖 | |
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可在MIT许可证下使用。有关更多信息,请参阅LICENSE文件。