Maintain image quality in iOS Application -


i trying create photo application having tough time formatting photos show clearly.

i have imageview size 320 * 500, , image size 3648*2736 px (which of course can scale down).

 imageview.contentmode=uiviewcontentmodescaleaspectfit; 

with imageview.contentmode=uiviewcontentmodescaleaspectfit; changed image size 700* 525px (imga) , 1 500 * 325(imgb). in mode

  • imga fills entire image view somehow little distorted/not crisp
  • imgb not fill entire image view top , bottom width perfect , image crisp.

uiviewcontentmodescaleaspectfill uiviewcontentmodescaleaspectfill image made fit uiimageview again distorted if image scaled down vs being scaled up.

i see many apps crisp large images . , hoping helps me measuring/ contentmode images better. or correct resizing

p.s have been looking @ link try i'm still missing goal. difference between uiviewcontentmodescaleaspectfit , uiviewcontentmodescaletofill?


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -