function() {
				var bIsIOS7Safari = sap.ui.Device.os.ios && sap.ui.Device.os.version >= 7 && sap.ui.Device.os.version < 8 && sap.ui.Device.browser.name === "sf";

				//call the base to properly init the event registry
				sap.ui.base.EventProvider.apply(this);

				if (!bIsIOS7Safari) {
					return;
				}

				this._bIntervallAttached = false;
				this._bInputIsOpen = false;
				this._bNavigationBarEventFired = false;

				var bIsLandscape = window.orientation === 90 || window.orientation === -90;
				if (bIsLandscape) {
					this._attachNavigationBarPolling();
				}

				sap.ui.Device.orientation.attachHandler(this._onOrientationChange, this);

				this._onFocusin =  jQuery.proxy(this._onFocusin, this);
				document.addEventListener("focusin", this._onFocusin , true);

				this._onFocusout = jQuery.proxy(this._onFocusout, this);
				//attach this event in the capturing phase, so noone can stop propagation
				document.addEventListener("focusout", this._onFocusout, true);
			}
function() {
				var bIsIOS7Safari = sap.ui.Device.os.ios && sap.ui.Device.os.version >= 7 && sap.ui.Device.os.version < 8 && sap.ui.Device.browser.name === "sf";

				//call the base to properly init the event registry
				sap.ui.base.EventProvider.apply(this);

				if (!bIsIOS7Safari) {
					return;
				}

				this._bIntervallAttached = false;
				this._bInputIsOpen = false;
				this._bNavigationBarEventFired = false;

				var bIsLandscape = window.orientation === 90 || window.orientation === -90;
				if (bIsLandscape) {
					this._attachNavigationBarPolling();
				}

				sap.ui.Device.orientation.attachHandler(this._onOrientationChange, this);

				this._onFocusin =  jQuery.proxy(this._onFocusin, this);
				document.addEventListener("focusin", this._onFocusin , true);

				this._onFocusout = jQuery.proxy(this._onFocusout, this);
				//attach this event in the capturing phase, so noone can stop propagation
				document.addEventListener("focusout", this._onFocusout, true);
			}
function ( ) { var bIsIOS7Safari = sap . ui . Device . os . ios && sap . ui . Device . os . version >= 7 && sap . ui . Device . os . version < 8 && sap . ui . Device . browser . name === "sf" ; //call the base to properly init the event registry sap . ui . base . EventProvider . apply ( this ) ; if ( ! bIsIOS7Safari ) { return ; } this . _bIntervallAttached = false ; this . _bInputIsOpen = false ; this . _bNavigationBarEventFired = false ; var bIsLandscape = window . orientation === 90 || window . orientation === - 90 ; if ( bIsLandscape ) { this . _attachNavigationBarPolling ( ) ; } sap . ui . Device . orientation . attachHandler ( this . _onOrientationChange , this ) ; this . _onFocusin = jQuery . proxy ( this . _onFocusin , this ) ; document . addEventListener ( "focusin" , this . _onFocusin , true ) ; this . _onFocusout = jQuery . proxy ( this . _onFocusout , this ) ; //attach this event in the capturing phase, so noone can stop propagation document . addEventListener ( "focusout" , this . _onFocusout , true ) ; }
IOS 7 behaves strange if the keyboard is open and you do an orientation change:
There will be a black space below the page and it will scroll away from the top in this case.
That's why we scroll to the top on orientation change.
We also need to catch blur since if you do orientation change with keyboard open, close the Keyboard, Open it on another input,
the black box will appear again. Since closing the keyboard will fire blur, we attach on this one.
@private
IOS 7 behaves strange if the keyboard is open and you do an orientation change : There will be a black space below the page and it will scroll away from the top in this case . That s why we scroll to the top on orientation change . We also need to catch blur since if you do orientation change with keyboard open close the Keyboard Open it on another input the black box will appear again . Since closing the keyboard will fire blur we attach on this one .
Initializes the event registry