ios - Automatically detect image when orientation change -


when change mode of view uiview don't show same image in portrait mode landscape mode. how implement it? required same image view in both mode. if image1.jpg in portrait mode same image shown in landscape mode when orientation change.

example;

note: here have done view u have uiimageview;

select ur uiimageview in ib see autoresizing

then set below in autoresizing arrow marks.note dim arrow , dark arrow marks

enter image description here


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -