initWithRootViewController method

UINavigationController initWithRootViewController(
  1. UIViewController rootViewController
)

initWithRootViewController:

Implementation

UINavigationController initWithRootViewController(UIViewController rootViewController) {
  final _$$ref = object$.ref;
  final _$$ref$1 = rootViewController.ref;
  objc.checkOsVersionInternal('UINavigationController.initWithRootViewController:', iOS: (false, (2, 0, 0)));
  final $ret = _objc_msgSend_1sotr3r(
    _$$ref.retainAndReturnPointer(),
    _sel_initWithRootViewController_,
    _$$ref$1.pointer,
  );
  return UINavigationController.fromPointer($ret, retain: false, release: true);
}