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

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -