i trying figure out how use xcassets folder in xcode 6 , have apple have done way better job. i'm big fan of xcode images storage per type of screen / phone nightmare.
first, in application using images have height of half width. understood, taking pictures of around 1200x600px should types of iphones (full width minus small margin). put them in 3x universal, right? if gave maximum size why apple need 1x , 2x ...? resize yourself, no? compulsory me give or work itself? images not vector simple pngs. in simulator nothing complaining , works types of iphones. okay leave other 2 empty? see simulator iphone 6 use downsized @3x images point of having 2 images? ratio important , have same ...
secondly, added today launch screen retina hd 5.5 / 4.7 , when run app in simulator uitableviews take around 4/5 of full width instead of full width .... can't figure out why adding launch screen modify layout of uitableviews ....? navigation bar , other screens seem untouched though ...
any appreciated.
you need add images 2x & 3x because when add large size image @ run time image resize per actual width of image utilize memory lots of memory & time if application have many images memory issues
if want test run application in iphone 5 see memory utilisation first keeping high resolution image take image of appropriate size iphone 5 & run again see difference
so best practice use different image different size & not images in fashion.
the answer second question if not adding splash screen iphone 6/6+ ios stretches ui of iphone 5 fit size of iphone 6/6+. when add splash screen stops doing that.
Comments
Post a Comment