diff --git a/tns-core-modules/ui/core/view/view.ios.ts b/tns-core-modules/ui/core/view/view.ios.ts index 439c9a017..ed668434e 100644 --- a/tns-core-modules/ui/core/view/view.ios.ts +++ b/tns-core-modules/ui/core/view/view.ios.ts @@ -688,7 +688,7 @@ export namespace ios { return; } - if (view instanceof View) { + if (view instanceof View && view.nativeViewProtected) { const frame = view.nativeViewProtected.frame; const origin = frame.origin; const size = frame.size;