转载

[iOS] 显示 FPS 值在 iOS 状态栏的小东西

JPFPSStatus

README 中文

Show FPS Status on StatusBar

Podfile

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

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] open]; #endif

[iOS] 显示 FPS 值在 iOS 状态栏的小东西

Licenses

All source code is licensed under theMIT License.

原文  https://github.com/joggerplus/JPFPSStatus
正文到此结束
Loading...