Home

Awesome

JPFPSStatus

Pod Version Pod Platform Pod License

README 中文

Show FPS Status on StatusBar

Podfile

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

Instruction

Note:Use JPFPSStatus in DEBUG mode

add the code in AppDelegate.m

<pre> #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; } </pre> <pre> #if defined(DEBUG)||defined(_DEBUG) [[JPFPSStatus sharedInstance] openWithHandler:^(NSInteger fpsValue) { NSLog(@"fpsvalue %@",@(fpsValue)); }]; #endif </pre> <pre> #if defined(DEBUG)||defined(_DEBUG) [[JPFPSStatus sharedInstance] close]; #endif </pre> <img src="https://raw.githubusercontent.com/joggerplus/JPFPSStatus/master/JPFPSStatus/Resources/jpfpsstatus1.jpg" width="320" height="570">

Licenses

All source code is licensed under the MIT License.