-(void)initBugly{
//[Bugly startWithAppId:BuglyKey];
BuglyConfig *config = [[BuglyConfig alloc] init];
config.applicationGroupIdentifier = @"xxxxxx";
//非正常退出事件(SIGKILL)
config.unexpectedTerminatingDetectionEnable = YES;
//卡顿监控
config.blockMonitorEnable = YES;
//开启SDK日志
config.debugMode = YES;
//进程内还原符号
config.symbolicateInProcessEnable = YES;
[Bugly startWithAppId:BuglyKey config:config];
}
使用腾讯bugly,在腾讯bugly后台申请应用和key,即可观察上线后APP运营状况以及bug反馈。