Skip to content

Commit

Permalink
Merge pull request #27 from emrepun/improvement/load-view-if-needed
Browse files Browse the repository at this point in the history
Call loadViewIfNeeded instead of loadView
  • Loading branch information
emrepun authored Nov 13, 2020
2 parents 2d79258 + c01fc17 commit d4695db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ open class StickyViewControllerSupportingTabBarController: UITabBarController, S
guard collapsableVCFlow == nil else {
return
}
childViewController.loadView()
childViewController.loadViewIfNeeded()
childViewController.container = self
self.childViewController = childViewController
collapsableVCFlow = ExpandableViewController(withChildVC: childViewController,
Expand Down

0 comments on commit d4695db

Please sign in to comment.