1: 集成第三方
pod 'Bugly'
2: 导入头文件
在AppDelegate.h中导入:
#import <Bugly/Bugly.h>
3: 初始化Bugly:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[Bugly startWithAppId:@"此处替换为你的AppId"];
}
网友评论