Splash Screen Spinner (iOS)

1,800 views
Skip to first unread message

Darren Peck

unread,
Mar 26, 2012, 2:40:46 PM3/26/12
to phon...@googlegroups.com
Good Day,

How would I go about replacing the current splash screen spinner? I assume it is an animated gif. My designer has given me a custom spinner to use with our splash but I am not sure how to change the default spinner.

Also, how would I go about changing the positioning of the spinner? Right now it is centered on the screen but I would like to move it down a bit.

Thank you.

P10

unread,
Jun 17, 2012, 12:57:00 PM6/17/12
to phon...@googlegroups.com
Did you ever find a resolution to this?  Especially the position of the spinner?

Giacomo Balli

unread,
Jun 18, 2012, 1:55:23 AM6/18/12
to phonegap
you can change the position/style but it's not a GIF file.

anurag gautam

unread,
Jun 18, 2012, 2:00:16 AM6/18/12
to phon...@googlegroups.com
here u can stop the default spinner  from  cordova.plist  ShowSplashScreenSpinner key ,
you can add the NotificationEx plugin for same from Github library. 


--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com



--
Thanks!
With regards
ANURAG GAUTAM
7814155605
Linkedin profile


Kerri Shotts

unread,
Oct 6, 2012, 5:01:02 PM10/6/12
to phon...@googlegroups.com
The only place I know of would be to look in Cordova.plist. You can turn it on or off, but that's about it. Anything further would probably require delving into the Cordova source code to figure out how to control it.

______________________________
Kerri Shotts
photoKandy Studios LLC

📱 Phone: +1 (312) 380-1035
🌐 Web: http://photokandy.com 

Twitter: @photokandy


On Oct 5, 2012, at 12:08, Joel Shaffer <jsha...@worthwhile.com> wrote:

You mentioned that it is possible to change the position/style but you didn't say how it is possible. Any pointers of where to start looking would be appreciated.
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
 
To compile in the cloud, check out build.phonegap.com
 
 

zSprawl

unread,
Oct 6, 2012, 9:21:38 PM10/6/12
to phon...@googlegroups.com
 I'm interested in this as well. The spinner should be lower. :p

Devgeeks

unread,
Oct 6, 2012, 10:05:07 PM10/6/12
to phon...@googlegroups.com
I would start with this


So the CordovaLib you are editing is ONLY in the app you want to lower the spinner in...

Then, in CDVViewController.m find this method:

- (void) showSplashScreen

Near the bottom of the method there is a line like this:

self.activityView.center = self.view.center;


Change it to:

self.activityView.center = CGPointMake(self.view.center.x, self.view.center.y + 100);


Where "100" is how far down you want to move the spinner from the centre of the screen (the default).

Remember, not all devices are the same size, so if just an arbitrary amount down from the centre isn't good enough, you will have to work out how to place it where you want.

zSprawl

unread,
Oct 6, 2012, 10:32:24 PM10/6/12
to phon...@googlegroups.com
thanks dude!

-S
Reply all
Reply to author
Forward
0 new messages