I encountered a weird problem with a UIView in my Application. I placed some UIButtons, UISlider, etc. on a View. Which looks like this:

However, on the Simulator and on my iPhone it looks like this:

The button “+1 min” is not aligned with the other controls anymore.
The correct x-coordinate is 236. When I inspect the value in the debugger, I get 243.
I already checked the storyboard-file, which has the right value.
Why is it affecting only this button? And more importantly how do I fix this?
If you have used Interface Builder.. Then definitely you have to do changes for autoresize in Interfacebuilder.. Try this it may solve your problem..