Screen height increase when opening external app on iOs


On Ionic 2 on iOs, when I open an external app, the screen height increase, header and footer are set outside of the webview:

There is the original webview:

I tap the button to share content by e-mail:

If I cancel message and go back to the webview footer and header are outside the webview:

I have the problem using opening in native browser and cordova-plugin-x-socialsharing.

Thanks for your help,

Hi, I’m facing the exact same issue, for the cordova-plugin-x-socialsharing…and only with the email function.

Anybody found an answer to this???..would appreciate it! :kissing_smiling_eyes:


Same issue here, anybody found a solution? I have the same problem with cordova-plugin-facebook4. Thanks!

I had faced same issue.

But, now its work properly after using “statusbar” hide and show.


takeThePhoto(pictureSourceType) {
            sourceType: pictureSourceType,
            quality: 20,
            targetWidth: 500,
            targetHeight: 500,
            correctOrientation: true,
            imageURI => {
                if ('ios')) {
                  imageURI = imageURI;
                } else if ('android')) {
                  // Modify fileUri format, may not always be necessary
                  imageURI = 'file://' + imageURI;
                window['plugins'].crop.promise(imageURI, {
                    quality: 30
                }).then(newPath => {
                        return this.toBase64(newPath).then((base64Img) => {

use “this.statusBar.hide();” on call function.
and use “;” on response.

Use this:

this.socialSharing.share(message, subject, file, link).then(() => {
setTimeout(() => {;
}).catch(() => {
setTimeout(() => {;

Thx, I’ll try and hope it works…didn’t had the time to dig into this! :blush:

It is working. Thanks