Features:
- Show both big images (larger than the screen) and small ones;
- One tap to close view, two taps to zoom in/out. Pinch to zoom is also available;
- Scrolling through available content. It's impossible to scroll image outside visible area. Thanks to
UIScrollView
'sContentSize
property.
Suggestions for future:
- I reduced code by removing
UINavigationBar
usage. - Also it's nice to add
UIView
's basic animation (fade in/out) when user opens/closes full screen image view.
Some relative info:
- Solution was strongly inspired by this article.
- As a starting point for patching I recommend Xamarin's article.
Any bug reports and suggestions are welcome!