Skip to content

Commit 60ce727

Browse files
committed
Animating autolayout based pages on layout changes.
1 parent da54e9e commit 60ce727

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

SCPageViewController.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'SCPageViewController'
3-
s.version = '2.0.9'
3+
s.version = '2.0.10'
44
s.platform = :ios
55
s.ios.deployment_target = '5.0'
66

SCPageViewController/SCPageViewController.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ - (void)setLayouter:(id<SCPageLayouterProtocol>)layouter
195195

196196
[self _sortSubviewsByZPosition];
197197
[self _tilePages];
198+
199+
[self.view layoutIfNeeded];
198200
};
199201

200202
if(animated) {

0 commit comments

Comments
 (0)