/// 网络监听
[MonitorNetwork startMonitoring];
/// 卡顿监听
[[CatchANR shareInstance] startMonitoring];
/// 闪退监听
[CatchCrash startMonitoring];
/// FPS检测
__weak typeof(self) weakSelf = self;
[[CatchFPS shareInstance] setFPSBlock:^(float fps) {
__strong typeof(weakSelf) strongSelf = self;
strongSelf.fpsView.contextLab.text = [NSString stringWithFormat:@"%d FPS",(int)roundf(fps)];
}];
[[CatchFPS shareInstance] startMonitoring];
-
Notifications
You must be signed in to change notification settings - Fork 1
zhengmiaokai/MKAPM
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
网络监听、卡顿/闪退收集,FPS检测(简单的功能实现)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published