Skip to main content
Inspiring
June 13, 2012
Answered

what frame-rate should I choose for iOS devices ?

  • June 13, 2012
  • 10 replies
  • 2422 views

Hi there,

I have my project set to 60FPS. everything looks smooth and fine  when testing on the iphone 4s.
I don't have a 3G to test on yet, should I leave the framerate as 60FPS for 3g or lower it?
I don't really understand how to determine what to set the framerate for best performance or even if it matters.
Just after some clarification about what to set the framerate to.
Thanks

This topic has been closed for replies.
Correct answer

Thanks for that info.
I am aware of those except 1) use release swf. what is that ? just non debug ?
I'm getting 60fps on iphone4s and frustratingly unable to test on 3g at this stage.

What I meant by my initial question was should I use less than 60fps for the scrolling on 3G or just leave it at 60 ?

I am trying to get a grasp on what fps to use for what devices and why. Is it too processor intensive to have the 3g try to scroll at 60 fps ? will I get smoother scrolling on a lower frame rate ?
sorry for the vagueness I really need to get my hands on a 3G and test it myself. 


Yes release is same as non-debug

Okay I finally get your question.

The idea is to keep a value for fps that meets your requirement. Using a value higher than this wastes resources. A simple example would be running an application at 60 fps that is an enterprise application which is clearly wasteful. For your scrolling usecase, if your performance requirement is of 40 fps then keep framerate at 40. Now two things can happen either your device will have enough juice to run at 40 fps or it won't have. If it has the juice it will run at 40 fps no issues. But if it does not have enough juice then it won't and cause stutter. In such a case raising the framerate to 60 will serve no purpose, because that relatively slower device could not scroll at 40 fps, no chance of it to scroll at 60 fps. You should not concern yourself to keep different framerates for different devices. Keep the framerate at a value that meets your requirement, if the underlying device can play at that fps it will play, otherwise it will stutter.

To answer your original question, no you will not get smoother scrolling on a lower frame rate.

10 replies

MJD1981
Inspiring
June 13, 2012

I'm happy with the results I'm getting at 15fps!

June 13, 2012

What you could do is try out your application at 30 fps on an iphone 4s. If you are happy with the performance then you can keep that as your framerate. What sort of application is it? If it is an enterprise application than 24 fps is more than enough. The idea is to vary the framerate in different parts of your application depending on how much animated content exists.

Inspiring
June 13, 2012

Thanks kshi gupta for your reply to both of my questions.
It is an enterprise app I want the scrolling elements to look smooth like in iOS native apps like the contact list.
For that reason I have set the framerate to 60 when scrolling and down to 20 when not.
Is this acceptable for the 3g ?

June 13, 2012

Yes you need not keep fps at 60 for parts where there is no scrolling even on iphone 3gs. What fps do you get when you are scrolling on iphone 4s? Just keep in mind some basics that you may already be aware of

1) use release swf

2) use ipa-app-store as target

3) use gpu as your rendermode (since this is an enterprise app and I assume there are no filters in it)