ios - Showing Full Image in UIImageView -


i using uiimageview show image. when image populates in imageview shows part of image (upper part ) not full image, image large.
wondering if there way show full image in imageview without using scroll view user can have view of full image @ once without scrolling.

you can change content mode of uiimageview. in attributes inspector can change it, example "scale fill".

you can code too, example, in objective-c:

imageview.contentmode = uiviewcontentmodescaletofill; 

if want keep aspect set uiviewcontentmodescaleaspectfit.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -