From cc11b6df68dbde5da1ab006df4ac08b50d9be507 Mon Sep 17 00:00:00 2001 From: Michael Waterfall Date: Wed, 2 Oct 2013 18:01:20 +0100 Subject: [PATCH] Fixed clipping to bounds issue. --- MWPhotoBrowser/Classes/MWPhotoBrowser.m | 1 + 1 file changed, 1 insertion(+) diff --git a/MWPhotoBrowser/Classes/MWPhotoBrowser.m b/MWPhotoBrowser/Classes/MWPhotoBrowser.m index 0a7cd80cc..1c6736dad 100644 --- a/MWPhotoBrowser/Classes/MWPhotoBrowser.m +++ b/MWPhotoBrowser/Classes/MWPhotoBrowser.m @@ -231,6 +231,7 @@ - (void)viewDidLoad { // View self.view.backgroundColor = [UIColor blackColor]; + self.view.clipsToBounds = YES; // Setup paging scrolling view CGRect pagingScrollViewFrame = [self frameForPagingScrollView];