iPhone 5 UI

Hi All,

I have an App already running on iPhone 3 and 4. Now I have to optamize it for iPhone 5. Well I have loaded the new background images dynamically for iPhone 5 and it was not much difficult. Now all objects are screen are positioned according to iPhone 4 screen size. I am little confused about repositioning objects for iPhone 5 display. This means I have to reposition all objects for iPhone 5. Even if I do so then what if user is using it on iPhone 4, objects will go out of screen. So this means I need some way to dynamically position objects according to screen size. I am little confused how to do this in a best possible way. So whether user uses it on iPhone 4 or 5, its objects are positioned accordingly. I hope I have made my poit clear. I will highly appreciate your help in this regards.

Thank you

It’s kind of a broad question because we don’t know anything about your app’s UI and how you are positioning things now.  Have you changed your config.lua to detect the tall device?  Have you included the required Default-568h@2x.png file?

Also see this blog post:  http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/

It’s kind of a broad question because we don’t know anything about your app’s UI and how you are positioning things now.  Have you changed your config.lua to detect the tall device?  Have you included the required Default-568h@2x.png file?

Also see this blog post:  http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/