Application layout is shifted outside of the iPhone screen
My application is running fine in the simulator; however, it is shifted outside of the iPhone screen. This does not happen always. Most of the time it happens is when the app freshly loaded on the device, and I have to quit the app and restart it. Then it runs fine.
Anyone has seen this behavior and any help is appreciated.
1 Answer
-
Take care with the left/top positions ( and w/h ).
I found out that is better to specify all the sizes and not to let the system to set it because sometimes it behaves strange.