开发者

iPad : Problem with orientation

开发者 https://www.devze.com 2023-03-17 01:26 出处:网络
After changing the orientation and try to write in textField. This problem occurs only when I launch the app in Landscape mode to star开发者_如何学Ct with and then change the interface orientation to

After changing the orientation and try to write in textField.

This problem occurs only when I launch the app in Landscape mode to star开发者_如何学Ct with and then change the interface orientation to portrait.

My screen view moves slightly to right side.

I am not setting any frame for this, but still it moves at one side.

What should I do ?

iPad : Problem with orientation


When I had this issue, I could solve it by setting the view's bounds in willRotateToInterfaceOrientation to their expected value.


select ur view and then set like below in the autoresizing arrow marks.note dim arrow and dark arrow marks

iPad : Problem with orientation


set it like on screen posted by madhu, but do it on window

x and y should be 0, in autosizing there should be checked upper and left "I"

0

精彩评论

暂无评论...
验证码 换一张
取 消