jaredsinclair / JTSImageViewController

An interactive iOS image viewer that does it all: double tap to zoom, flick to dismiss, et cetera.
MIT License
32 stars 11 forks source link

Image not centered #88

Closed mbLc closed 8 years ago

mbLc commented 8 years ago

Hi,

I don't know why but if the image is bigger than the screen size, it will put it a bit on top instead of centered.

Also I use 2 JTSImageViewController to do a comparison between 2 photos. So I put the 2 JTS in one custom View by doing "self.view.frame.size.width / 2" and everytime, both images are on top and I can drag them down and it will put them centered. Once I did that I'm unable to drag them up. It's like I have to put them myself in the middle of the screen to get the proper position. This only happen when I put 2 JTS Controller. If I have only one the image it's just always on the top of the screen.

Thanks for your help.