if (platform.is('ios')) { let appEl = <HTMLElement>(document.getElementsByTagName('ION-APP')[0]), appElHeight = appEl.clientHeight; Keyboard.disableScroll(true);
window.addEventListener('native.keyboardshow', (e) => { appEl.style.height = (appElHeight - (<any>e).keyboardHeight) + 'px'; }); window.addEventListener('native.keyboardhide', () => { appEl.style.height = '100%'; }); }