Show Loading while APP is Loading


#1

Hello,
After I open my app, a splash screen appears and than a black one while the app loads, I want to show a spinner at that point, how I do it?


#2

Until the content is loaded, add spinner component to the DOM and remove content section. And do the reverse once the content is loaded.

You can check this for the exact logic. It’s very simple and straightforward:
ion-spinner Component: Ionic 2


#3

Ok, but I thing that the rendering is taking a long time. I dont have any data until I start changing views.


#4

Increase spashscreen timings a little bit and then use spinner after that …I’ve also experienced it in my Ionic 1 apps previously.

I’ve a radio app, once the splashscreen goes off, there is still some jerkiness in rendering the first page of the app.
Radio App