Skip to content

zhengmiaokai/MKAPM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MKAPM

网络监听、卡顿/闪退收集,FPS检测

简单的功能实现,后续迭代完善

/// 网络监听
[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];

About

网络监听、卡顿/闪退收集,FPS检测(简单的功能实现)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published