# APP only works the first time on iOs

**URL:** <https://forum.ionicframework.com/t/app-only-works-the-first-time-on-ios/109793>\
**Category:** ionic-v3\
**Created:** [October 24, 2017, 10:47am UTC](https://forum.ionicframework.com/t/app-only-works-the-first-time-on-ios/109793 "2017-10-24T10:47:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antony2809](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@antony2809](https://forum.ionicframework.com/u/antony2809)\
**Post date:** [October 24, 2017, 10:47am UTC](https://forum.ionicframework.com/t/app-only-works-the-first-time-on-ios/109793/1 "2017-10-24T10:47:34Z")

</div>

Hi, im having a problem since I’m trying to test my app on iOS.

The first time I install my app on an emulator/device the app works correctly. But if I close my app, and open again the app don’t work anymore and get stuck on the white screen forever.

My `ionic info` is:

```auto
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils : 1.14.0
    ionic (Ionic CLI) : 3.14.0

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms : ios 4.5.2
    Ionic Framework : ionic-angular 3.7.1

System:

    Node : v8.7.0
    npm : 5.4.2 
    OS : macOS Sierra
    Xcode : Xcode 9.0 Build version 9A235 

Misc:

    backend : pro

```

I tried so many solutions, like remove and add de platforms, remove and add de plugin one by one. The app works on Android perfectly, but on iOS I have this problem.

Can someone help me?

---

<div class="post-metadata">

**Author:** ![rsun](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@rsun](https://forum.ionicframework.com/u/rsun)\
**Post date:** [November 8, 2017, 3:02am UTC](https://forum.ionicframework.com/t/app-only-works-the-first-time-on-ios/109793/2 "2017-11-08T03:02:30Z")

</div>

I fixed this by changing my config.xml to have  
`<preference name="AutoHideSplashScreen" value="true" />`
