ios - Background image for iPhones and iPads of various sizes -


i add background image ios , want background image have appropriate resolutions tablet , phone versions. design considerations should take account? resolution should image in?

this list of current screen resolutions variety of devices: click resolutions

you create 10 different images, 5 each landscape , portrait views.

alternatively, create 2 or 4 images cater landscape , portrait views , use code check devices size size them appropriately.

the advantages of creating right sized images means have precise background consistent across devices, if have logo's in background distortion may occur resizing of images across devices.

conversely, creating 2-4 images should reduce memory size app downloaded packaged background images instead of 10, , if resized correctly, shouldn't out of place.

i test 2-4 images using simulator, checking , performance on devices plan release to. if aren't happy, either customise layouts images stretch fit appropriately, or, symmetry across devices, create images , package, attempt reduce size of each image aligned device boundaries reduce memory consumption.

the disadvantage of using 10 different images code required fit, , should new device size come out, need create additional images, consumes more memory , requires long term monitoring. consumes unnecessary memory if using iphone 6 , have images other devices.

my advice - weight whether need background , if so, whether or not resizing 2 images fit device impact of app.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -