From a35e603d85cc1168548e247f7dabe7fae318af02 Mon Sep 17 00:00:00 2001 From: Hristo Hristov Date: Fri, 27 Oct 2017 13:50:20 +0300 Subject: [PATCH] Fix to always get the same bounds no matter if we are shown modally or not (for iOS). Remove code that moves actionBar when there is incoming call. We now depend on the autolayout to position us correctly. _addView, _removeView won't request layout for iOS. LayoutBase: addChild & remvoeChild will request layout. ContentView: content change will request layout. --- .../ui-tests-app/modal-view/modal-view.xml | 2 +- .../ui/content-view/content-view.ts | 3 +++ tns-core-modules/ui/core/view/view.ios.ts | 20 ++++----------- tns-core-modules/ui/frame/frame.ios.ts | 22 ---------------- .../ui/layouts/layout-base.ios.ts | 25 +++++++++++++++---- 5 files changed, 29 insertions(+), 43 deletions(-) diff --git a/apps/app/ui-tests-app/modal-view/modal-view.xml b/apps/app/ui-tests-app/modal-view/modal-view.xml index 0ce8f81fa..0f0aaab57 100644 --- a/apps/app/ui-tests-app/modal-view/modal-view.xml +++ b/apps/app/ui-tests-app/modal-view/modal-view.xml @@ -1,4 +1,4 @@ - +