Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i check my app's frame rate?

I want to find out the frame rate of my iOS app, i'm wondering how to check that?

like image 581
Andrew Avatar asked Apr 11 '12 15:04

Andrew


2 Answers

Try to profile your app with Instruments and use the Core Animation instrument. IIRC it should give frame rate.

like image 141
GreyHands Avatar answered Nov 14 '22 23:11

GreyHands


Try to use SpriteKit's SKView!

SKView *skView = [[SKView alloc] init];
skView.frame = CGRectMake(240, 525, 60, 15);
skView.showsFPS = YES;
[self.view addSubview:skView];
like image 42
carlhuting Avatar answered Nov 14 '22 22:11

carlhuting