Skip to content

Commit d4695db

Browse files
authored
Merge pull request #27 from emrepun/improvement/load-view-if-needed
Call loadViewIfNeeded instead of loadView
2 parents 2d79258 + c01fc17 commit d4695db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

StickyTabBarViewController/Classes/StickyViewControllerSupportingTabBarController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ open class StickyViewControllerSupportingTabBarController: UITabBarController, S
3838
guard collapsableVCFlow == nil else {
3939
return
4040
}
41-
childViewController.loadView()
41+
childViewController.loadViewIfNeeded()
4242
childViewController.container = self
4343
self.childViewController = childViewController
4444
collapsableVCFlow = ExpandableViewController(withChildVC: childViewController,

0 commit comments

Comments
 (0)