mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
fix(ios): resiliency to frame controller viewDidDisappear
This commit is contained in:
@ -419,7 +419,7 @@ class UINavigationControllerImpl extends UINavigationController {
|
|||||||
@profile
|
@profile
|
||||||
public viewDidDisappear(animated: boolean): void {
|
public viewDidDisappear(animated: boolean): void {
|
||||||
super.viewDidDisappear(animated);
|
super.viewDidDisappear(animated);
|
||||||
const owner = this._owner.get();
|
const owner = this._owner?.get();
|
||||||
if (owner && owner.isLoaded && !owner.parent && !this.presentedViewController) {
|
if (owner && owner.isLoaded && !owner.parent && !this.presentedViewController) {
|
||||||
owner.callUnloaded();
|
owner.callUnloaded();
|
||||||
owner._tearDownUI(true);
|
owner._tearDownUI(true);
|
||||||
|
Reference in New Issue
Block a user