New to this forum as well as in Xamarin . Can anyone Please guide me is there any library or package that i can use for displaying images ,which will resize and cache them.
I found answer for buttons as well.To show image in button without stretching I used:
Btnname.ImageView.ContentMode=UIContentMode.ScaleAspecttFill and set image in button using setImage method instead of setBackgroundImage
Your requirements are rather vague, so there's not much help we can provide. iOS already supports displaying and resizing images without any additional library (see UIImageView). Not sure what your caching requirements are, so I can't comment on that.
Sorry for not being brief.Just got to know how to resize it properly.Used Content mode as 'AspectFill' and set clipstobounds property as 'true',it works like charm.However same thing does not work for buttons.Image is getting streched while showing in UIButton.
You could use this: https://github.com/luberda-molinet/FFImageLoading
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies