ios - View is moving down in iphone -


I am using slide out navigation in my app. Slips down automatically sometimes in some pages. This is in the correct position in the simulator, while in some devices it looks correct and in some it slides down. Here are the screen shots: 1) simulator screen shot (should look like): enter image details here

2) Device screen shot:

Enter image details here

You can see that the back particle is moving below the sun, I have set the image as the background of the background. There is some auto resizing property that I have to set but I have many things Oshis but no me this outcome is why it can tell it?

I think the auto-resizing device is the right choice for displaying UIView correctly, Try to use one of the following assets which

this is the option available for IOS 7 to change the size of iiView. You can add just one line of code to correct it.

Check out. AutoresizingMask = UIViewAutoresizingFlexibleTopMargin;

or

AutoresizingMask = UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleBottomMargin;


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -