开发者

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

Automatically detect image when orientation change

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜