IDMPhotoBrowser
IDMPhotoBrowser copied to clipboard
Could I hide the browser by TapGestureRecognizer ?
I want to hide the browser by TapGestureRecognizer (not by Done button or SwipeGestureRecognizer), but I can't find the way to do this, could you guide me how to do this ? Thanks a lot.
modify the sources code, man. by default, there is a tap gesture on browser, but the default action is to show the label or not. so, change the action to close the brower manually!
It's better to use the attribute "dismissOnTouch" .
@property (nonatomic) BOOL dismissOnTouch;
this class (IDMPhotoBrowser) no "dismissOnTouch" attribute
https://github.com/thiagoperes/IDMPhotoBrowser/commit/0f97866fa3e77f5ae16767c19f7bd7dc51d570ed @liuning1084126465