Automatically detect image when orientation change
When I change mode of view then uiview don't show same image in portrait mode which is landscape mode. so 开发者_开发技巧how implement it? I required same image view in both mode. if image1.jpg is in portrait mode then same image will shown in landscape mode when orientation change.
Example;
NOte: here i have done with View but u have to do with UIImageview;
select ur UIImageview in IB then see autoresizing
then set like below in the autoresizing arrow marks.note dim arrow and dark arrow marks
精彩评论