From 419b4142727da7dbac67caddcb3dc38a69981fc9 Mon Sep 17 00:00:00 2001 From: David Sinclair Date: Wed, 9 Mar 2016 18:01:32 -0800 Subject: [PATCH] iOS: fixed traverse positioning --- clients/ios/Classes/StoryPageControl.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/ios/Classes/StoryPageControl.m b/clients/ios/Classes/StoryPageControl.m index 9f06cd4e1..e6d4c0a8d 100644 --- a/clients/ios/Classes/StoryPageControl.m +++ b/clients/ios/Classes/StoryPageControl.m @@ -587,7 +587,7 @@ CGRect pageFrame = pageController.view.bounds; pageFrame.origin.y = 0; pageFrame.origin.x = CGRectGetWidth(self.view.bounds) * newIndex; - pageFrame.size.height = CGRectGetHeight(self.view.bounds); + pageFrame.size.height = CGRectGetHeight(self.view.bounds) - self.bottomSizeHeightConstraint.constant; pageController.view.hidden = NO; pageController.view.frame = pageFrame; } else { @@ -595,7 +595,7 @@ CGRect pageFrame = pageController.view.bounds; pageFrame.origin.x = CGRectGetWidth(self.view.bounds) * newIndex; pageFrame.origin.y = CGRectGetHeight(self.view.bounds); - pageFrame.size.height = CGRectGetHeight(self.view.bounds); + pageFrame.size.height = CGRectGetHeight(self.view.bounds) - self.bottomSizeHeightConstraint.constant; pageController.view.hidden = YES; pageController.view.frame = pageFrame; }