I made a viewcontroller XIB as 4" retina screen and put a custom view at the bottom.
And I run the app on the iPhone4 3.5" simulator.
My app should be supported on most of iPhone versions, so I set the view's frame on the view controller's viewdidload. And I was going to hide the view at the first time, as a result the view's frame was set to {{-320, 401}, {320, 147}}.
But in the viewwillappear, I found the view's frame was reset as {{0, 313}, {320, 147}}
.
I wonder why this frame was changed automatically.
Thanks for any help.