andreagiavatto / AGPhotoBrowser

A photo browser for iOS inspired by Facebook.
Apache License 2.0
447 stars 85 forks source link

When a photo has been zoomed, the gesture recognizer should not respond to swipe up or down to dismiss. #24

Open albertgh opened 10 years ago

albertgh commented 10 years ago

If drag to left or right at the begining, then continue drag to up or down works fine. But if drag to up or down at the begining it respond to dismiss action. I think the reason we zoom a photo is for drag it to any orientation, and at that specific case we still have a done button do the dismiss action

And landscape photo zooms weird, there is too much black background. I think it's the height of the scrollView it too high.

//---------- Sorry for my poor English.