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.
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
Post a Comment