Hitarthi Panchal
Hitarthi Panchal

Reputation: 392

Ionic blank screen issue for ios device

In ionic app for ios devices, when I used application, then if I tap outside the screen then screen goes blank. It will show white screen. But this issue only occurs in iPhone devices, not on Android ones.

I have also tried replacing <ion-content> with <ion-scroll>.. and also set overflow-scroll="false"

And also put this in index.html file

<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">

But I am still getting same issue.

Could anyone help me out with this issue?

Thanks,

Upvotes: 0

Views: 883

Answers (2)

Nirmalsinh Rathod
Nirmalsinh Rathod

Reputation: 5186

I got same issue in one of mine ionic application. I just did swipeBackEnabled to false in app.js and magic works for me.

$ionicConfigProvider.views.swipeBackEnabled(false);

Upvotes: 1

Alvaro Heras
Alvaro Heras

Reputation: 81

i Had the same problem... In my case it worked iOS and Android

I configure my config.xml like that and working i think that can help you

<preference name="SplashScreenDelay" value="2000"/>
<preference name="FadeSplashScreenDuration" value="2000"/>
<preference name="SplashScreen" value="screen"/>
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="AutoHideSplashScreen" value="false" />

Upvotes: 1

Related Questions