Customize initial loading spinner location and color

Has anyone attempted to change the color and the position of the loading animation when the app starts up?

Thanks in advance!

This is a cordova thing, which means you would need to dive into some native code. Not so much of an ionic issue…

Take a look at this …

Thanks! I figured it out. Opened up the splashscreen plugin lib to make the edit.
CDVSplashScreen.m:

_activityView.center = CGPointMake(parentView.bounds.size.width / 2, parentView.bounds.size.height / 2 + 130);
2 Likes

You can also customize the color of the spinner in the config.xml file:

<preference name="TopActivityIndicator" value="white"/>

options for value are white, whiteLarge, and gray (default)