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.
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
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 ?
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
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 ?
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