아이폰 상태바에 프레임레이트 차트를 띄워 앱의 퍼포먼스를 쉽게 확인가능한 RRFPSBar 라는 오픈소스 입니다.
다운로드는 첨부파일 또는 아래링크를 확인하세요.
https://github.com/RolandasRazma/RRFPSBar
사용예
// Include only if app is is not optimized (aka debug build)
#ifndef __OPTIMIZE__
#import "RRFPSBar.h"
#endif
@implementation YourAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Show only if app is is not optimized (aka debug build)
#ifndef __OPTIMIZE__
[[RRFPSBar sharedInstance] setHidden:NO];
#endif
}
@end