Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-12-2011, 02:56 PM   #1 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 5
ultraman is on a distinguished road
Question Splash screen implementation

Hi everyone !

I'm quite a newbie in Cocoa, Objective-C and iOS developpement. So I'm gonna ask a few questions that has propbably been posted already. I tried to search the site at first with the Search engine of course :-)

I'd like to implement a View that is just a splash screen and only last for a short time before routing to the main view. Do you have any idea on how I should implement that ? Any tutorials or code samples ? I have some with multiple views, but non with a timer to redirect to another one after a few seconds like I want to do.
ultraman is offline   Reply With Quote
Old 02-12-2011, 03:05 PM   #2 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 651
kapps11 is on a distinguished road
Default

search on the interwebs, theres lots of tutorials on this. The easiest way is to replace the Default.png file in your project. That will be displayed when your app first starts. However, you cant really control how long its up there for, and it cant animate or anything
kapps11 is offline   Reply With Quote
Old 02-12-2011, 03:21 PM   #3 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 5
ultraman is on a distinguished road
Default

Quote:
Originally Posted by kapps11 View Post
search on the interwebs, theres lots of tutorials on this. The easiest way is to replace the Default.png file in your project. That will be displayed when your app first starts. However, you cant really control how long its up there for, and it cant animate or anything
Thanks I just found out about this in the tutorial from Apple. This is the easiest way, altough not fully customisable as you just point out. Is there any Timer like thingy that triggers an event that I could catch ?
ultraman is offline   Reply With Quote
Old 02-12-2011, 03:39 PM   #4 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 551
aldcorn@live.com is on a distinguished road
Default Yes

Nstimer. You can create your first view to look just like the default.png and start a nstimer. Then switch to the view controller of your choice.

This is not recommended by apple because it is a bad user experience to make them wait for no reason. If you were running some functions on a seperate thread like downloading images etc. It might make sense.

Rob

Quote:
Originally Posted by ultraman View Post
Thanks I just found out about this in the tutorial from Apple. This is the easiest way, altough not fully customisable as you just point out. Is there any Timer like thingy that triggers an event that I could catch ?
aldcorn@live.com is offline   Reply With Quote
Old 02-13-2011, 07:25 AM   #5 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 2
traprap94 is on a distinguished road
Default

@ kapps11 This isn't really true, you can animate the default.png splashscreen. iPhone: Make your Default.png sexy - ⑧ ericd.net blog shows how to. It looks nice
traprap94 is offline   Reply With Quote
Old 02-13-2011, 11:04 AM   #6 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 651
kapps11 is on a distinguished road
Default

well actually that is a tutorial to make a splashscreen by adding your own imageview at the beginning of the app and then dismissing it on a timer, as we've said here, which is completely different from Default.png. Default.png is a png, so by definition it cannot be animated
kapps11 is offline   Reply With Quote
Old 02-27-2011, 11:06 PM   #7 (permalink)
Registered Member
 
Join Date: Feb 2011
Posts: 5
ultraman is on a distinguished road
Default

Thanks a lot to everyone who helped ! I finally went for a short splash with no animation.
ultraman is offline   Reply With Quote
Reply

Bookmarks

Tags
automatic view change, multiple views, splash screen, view

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 377
14 members and 363 guests
blasterbr, buggen, Clouds, EvilElf, jeroenkeij, jimmyon122, LEARN2MAKE, Mah6447, n00b, nyoe, pungs, Sami Gh, stanny, toon4413
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,121
Posts: 402,900
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:51 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0