MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _onViewControllerShown

Method _onViewControllerShown

packages/core/ui/frame/index.ios.ts:375–381  ·  view source on GitHub ↗
(viewController: UIViewController)

Source from the content-addressed store, hash-verified

373 // Consumers can subscribe to 'viewControllerShown'
374 // to safely interact with the visible controller/navigationItem once it exists.
375 public _onViewControllerShown(viewController: UIViewController): void {
376 this.notify({
377 eventName: 'viewControllerShown',
378 object: this,
379 viewController,
380 });
381 }
382}
383
384const transitionDelegates = new Array<TransitionDelegate>();

Calls 1

notifyMethod · 0.65

Tested by

no test coverage detected