Skip to content

Commit d68f9cd

Browse files
committed
Merge pull request mwaterfall#315 from dfmuir/master
Fixed Issue mwaterfall#304 "Zooming issue in iOS 8"
2 parents b4ad463 + 50a6204 commit d68f9cd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

MWPhotoBrowser/Classes/MWZoomingScrollView.m

+5
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,11 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL
346346
[_photoBrowser hideControlsAfterDelay];
347347
}
348348

349+
- (void)scrollViewDidZoom:(UIScrollView *)scrollView {
350+
[self setNeedsLayout];
351+
[self layoutIfNeeded];
352+
}
353+
349354
#pragma mark - Tap Detection
350355

351356
- (void)handleSingleTap:(CGPoint)touchPoint {

0 commit comments

Comments
 (0)