popToRootViewControllerAnimated method

NSArray? popToRootViewControllerAnimated(
  1. bool animated
)

popToRootViewControllerAnimated:

Implementation

objc.NSArray? popToRootViewControllerAnimated(bool animated) {
  objc.checkOsVersionInternal('UINavigationController.popToRootViewControllerAnimated:', iOS: (false, (2, 0, 0)));
  final _ret = _objc_msgSend_1t6aok9(this.ref.pointer, _sel_popToRootViewControllerAnimated_, animated);
  return _ret.address == 0 ? null : objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}