diff --git a/DAPagesContainer/DAPagesContainer.m b/DAPagesContainer/DAPagesContainer.m index 067137c..db35a1c 100644 --- a/DAPagesContainer/DAPagesContainer.m +++ b/DAPagesContainer/DAPagesContainer.m @@ -78,8 +78,7 @@ - (void)viewDidLoad self.topBarHeight, CGRectGetWidth(self.view.frame), CGRectGetHeight(self.view.frame) - self.topBarHeight)]; - self.scrollView.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleWidth - | UIViewAutoresizingFlexibleHeight; + self.scrollView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; self.scrollView.delegate = self; self.scrollView.pagingEnabled = YES; self.scrollView.showsHorizontalScrollIndicator = NO; diff --git a/DAPagesContainerDemo.xcodeproj/project.xcworkspace/xcuserdata/daria.xcuserdatad/UserInterfaceState.xcuserstate b/DAPagesContainerDemo.xcodeproj/project.xcworkspace/xcuserdata/daria.xcuserdatad/UserInterfaceState.xcuserstate index 179e879..d227466 100644 Binary files a/DAPagesContainerDemo.xcodeproj/project.xcworkspace/xcuserdata/daria.xcuserdatad/UserInterfaceState.xcuserstate and b/DAPagesContainerDemo.xcodeproj/project.xcworkspace/xcuserdata/daria.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/DAPagesContainerDemo/en.lproj/MainStoryboard.storyboard b/DAPagesContainerDemo/en.lproj/MainStoryboard.storyboard index c0c2bf7..cdbdb5f 100644 --- a/DAPagesContainerDemo/en.lproj/MainStoryboard.storyboard +++ b/DAPagesContainerDemo/en.lproj/MainStoryboard.storyboard @@ -1,15 +1,20 @@ - + - + + - + + + + + - +