Skip to content

Commit

Permalink
update ui when view will appear (the first page should have the prevB…
Browse files Browse the repository at this point in the history
…utton hidden also the first time the walkthrough appears)
  • Loading branch information
Gianmaria Dal Maistro committed Mar 16, 2016
1 parent eb8fbd2 commit 5187ccc
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 5187ccc

Please sign in to comment.