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
Post a Comment