iOS Swift Resize a ImageView based on UIImage size and fit the screen's width

Solution:

If you resize the image based on imageView the image clarity will be gone.So better you can use the Aspect Fit or scale to fill or Aspect fill instead of resizing the image.

Also if you picked the image from gallery must have to get the original size then only clarity never loses.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift