UIViewController

  • Convenience function to insert a UIViewController into the specified view.

    Also takes care of inserting the subview, constraints (fills the entire given view) and notifies the view controller that is has moved to a new parent.

  • Convenience function for removing all child view controllers from a given UIViewController.