UIViewController
class UIViewController : UIResponder, NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment
                - 
                  
                  
Add view controller to this as child
Declaration
Swift
public func add(_ child: UIViewController, containerView: UIView? = nil)Parameters
childChild view controller
containerViewContainer view for childVC view. Default root view this view controller
 - 
                  
                  
Remove this view controller from parent view controller
Declaration
Swift
public func removeFromParent() 
- 
                  
                  
Undocumented
Declaration
Swift
public func adjustsScrollViewInsetsFalseIfNeeded() 
- 
                  
                  
Undocumented
Declaration
Swift
public func adjustsScrollViewInsets(_ adjust: Bool) - 
                  
                  
Undocumented
Declaration
Swift
public func adjustsScrollViewInsets(_ scrollView: UIScrollView, adjust: Bool) 
View on GitHub
        UIViewController Extension Reference