In my application, I have the edge of the image to the edge, and I'm trying to set a different image for the iPad and iPad Pro 12.9. The resolution is really different from the Pro and non-Pro versions, so I have to use different image sizes. Is this possible using an asset catalog or should I use if-elsein code?
if-else
For this you must use size classes.
Import two images into the asset catalog and set a larger image for a class of any size (width class / height class), and then limit the smaller image to rest (Compact / Regular).
Source: https://habr.com/ru/post/1653426/More articles:Permission denied when running HDF5 library in Python - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1653422/why-does-this-mysql-update-query-take-2-minutes-to-run&usg=ALkJrhjnNBer0ljRzPpjCFtbfSzad7nBfgHow to unit test a router in Angular2 RC5? - angularNo provider for array - angularRuntimeCompiler Provider Missing - angularWhere are scala js dependencies (specified in %%%) located and how to look for them? - scala.jsDetermine if a file is a directory inside a zip archive - cHow to sort the list of Realm results in alphabetical order in android? - androidAdding a second trigger to the task schedule - powershellXML deserialization using jackson-dataformat-xml custom root element? - jsonAll Articles