initWithRootViewController method

UINavigationController initWithRootViewController(
  1. UIViewController rootViewController
)

initWithRootViewController:

Implementation

UINavigationController initWithRootViewController(UIViewController rootViewController) {
  objc.checkOsVersionInternal('UINavigationController.initWithRootViewController:', iOS: (false, (2, 0, 0)));
  final _ret = _objc_msgSend_1sotr3r(
    this.ref.retainAndReturnPointer(),
    _sel_initWithRootViewController_,
    rootViewController.ref.pointer,
  );
  return UINavigationController.castFromPointer(_ret, retain: false, release: true);
}