Skip to content

Commit

Permalink
Merge pull request ariok#48 from jerrygdm/feature/bugfix
Browse files Browse the repository at this point in the history
update ui when view will appear (the first page should have the prevB…
  • Loading branch information
ariok authored Jul 22, 2016
2 parents 2f19add + 5187ccc commit d501651
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pod/Classes/BWWalkthroughViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ At the moment it's only used to perform custom animations on didScroll.
override public func viewWillAppear(animated: Bool) {
super.viewWillAppear(animated);

updateUI()

pageControl?.numberOfPages = controllers.count
pageControl?.currentPage = 0
}
Expand Down

0 comments on commit d501651

Please sign in to comment.