Light Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

joggerplus/JPFPSStatus

Repository files navigation

JPFPSStatus

README Zhong Wen

Show FPS Status on StatusBar

Podfile

0.1.1'">platform :ios, '7.0'
pod 'JPFPSStatus', '~> 0.1.1'

Instruction

Note:Use JPFPSStatus in DEBUG mode

add the code in AppDelegate.m

#import "JPFPSStatus.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
#if defined(DEBUG)||defined(_DEBUG)
[[JPFPSStatus sharedInstance] open];
#endif
return YES;
}

#if defined(DEBUG)||defined(_DEBUG)
[[JPFPSStatus sharedInstance] openWithHandler:^(NSInteger fpsValue) {
NSLog(@"fpsvalue %@",@(fpsValue));
}];
#endif

#if defined(DEBUG)||defined(_DEBUG)
[[JPFPSStatus sharedInstance] close];
#endif

Licenses

All source code is licensed under the MIT License.

About

Show FPS Status on StatusBar

Topics

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Packages

Contributors