MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / _goBackCore

Method _goBackCore

packages/core/ui/frame/index.ios.ts:256–270  ·  view source on GitHub ↗
(backstackEntry: BackstackEntry)

Source from the content-addressed store, hash-verified

254 }
255
256 public _goBackCore(backstackEntry: BackstackEntry) {
257 super._goBackCore(backstackEntry);
258 navDepth = backstackEntry[NAV_DEPTH];
259
260 const controller = backstackEntry.resolvedPage.ios;
261 const animated = this._currentEntry ? this._getIsAnimatedNavigation(this._currentEntry.entry) : false;
262
263 this._updateActionBar(backstackEntry.resolvedPage);
264
265 if (Trace.isEnabled()) {
266 Trace.write(`${this}.popToViewControllerAnimated(${controller}, ${animated}); depth = ${navDepth}`, Trace.categories.Navigation);
267 }
268
269 this._ios.controller.popToViewControllerAnimated(controller, animated);
270 }
271
272 public _updateActionBar(page?: Page, disableNavBarAnimation = false): void {
273 super._updateActionBar(page);

Callers

nothing calls this directly

Calls 5

_updateActionBarMethod · 0.95
isEnabledMethod · 0.80
writeMethod · 0.65

Tested by

no test coverage detected