ios - How to create image set for both landscape and portrait orientation? -


i'm new in ios programming. want create image set background image of login view in application (iphone, ipad). prepared images portrait orientation, , landscape orientation. don't know how setup image set.

you should use assets images. can use size classed different images portrait , landscape. for, example if want set images iphones in portrait should select compact width , regular height size class , can set portrait images there. so, can set images per size class if have different images different orientation. if have common image no need set different size class can set universal.


Comments

Popular posts from this blog

delphi - Disable and change color of node in Treeview -

elasticsearch python client - work with many nodes - how to work with sniffer -

unity3d - Rotate an object to face an opposite direction -