ios-app
ios-app copied to clipboard
[UX] Improve double tap to zoom in ImageViewer
If you found a bug:
Not really a bug but very naive implementation of double tap to zoom. The image is always zoomed to the middle. Instead of calling UIScrollView.setZoomScale() we could based on the location of the tap calculate a CGRect and then call UIScrollView.zoom(to rect: CGRect, animated: Bool)
Steps to reproduce
- Open any image
- Double tap in the top-left corner of the image
Expected behaviour
Top left region shall be visible
Actual behaviour
Region in the middle of the image is visible.
Client
iOS version: 12.x
**ownCloud app version: 1.0.3 **
Device model: