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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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 08-26-2010, 05:48 AM   #1 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 14
Question Before load my first view, I want to display a welcome view.

Hello, everyone. I'm a green hand here.

I want to create an app on iphone or ipad. After clicking the icon of the app, I want to let the app show a welcome window before loading my first view. After staying on the welcome window for about 3 mins, the app can jump to its first view automatically. So how could implement this feature?

Thank you again, everyone.
snowffer is offline   Reply With Quote
Old 08-26-2010, 05:58 AM   #2 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 5
Default

Quote:
Originally Posted by snowffer View Post
Hello, everyone. I'm a green hand here.

I want to create an app on iphone or ipad. After clicking the icon of the app, I want to let the app show a welcome window before loading my first view. After staying on the welcome window for about 3 mins, the app can jump to its first view automatically. So how could implement this feature?

Thank you again, everyone.
First, add welcome view to window, and create afterDelay 3 mins function, this function do change view (welcome to first view).

Code:
[self performSelector:@selector(changeView:) withObject:nil afterDelay:3.0];
kaleonyu is offline   Reply With Quote
Old 08-26-2010, 06:01 AM   #3 (permalink)
Registered Member
 
Join Date: Aug 2010
Location: Edinburgh
Posts: 209
Default

3 mins? Do you mean 3 seconds?

If you mean seconds, simply putting a Default.png image in the resource directory will do this.

If you mean minutes, I would be worried that apple may reject this. Is it a static welcome screen? Are you planning a way to bypass it early?
__________________
Justinmichael is offline   Reply With Quote
Old 08-27-2010, 03:53 PM   #4 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 5
Default

I want to add a video right after my default image goes away. Would I use the viewdidload function for this or applicationDidFinishLaunching? Also after the video is done I want it to go to my main view. Would the main view be called in applicationDidFinishLaunching?

so basically when the app icon is pressed
-default image switches to video
-video plays then switches to
-main view
stevbl01 is offline   Reply With Quote
Old 08-28-2010, 10:37 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 14
Default

Quote:
Originally Posted by kaleonyu View Post
First, add welcome view to window, and create afterDelay 3 mins function, this function do change view (welcome to first view).

Code:
[self performSelector:@selector(changeView:) withObject:nil afterDelay:3.0];
Thank you for your detailed answer. I will have a try.
snowffer is offline   Reply With Quote
Old 08-28-2010, 10:38 AM   #6 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 14
Default

Quote:
Originally Posted by Justinmichael View Post
3 mins? Do you mean 3 seconds?

If you mean seconds, simply putting a Default.png image in the resource directory will do this.

If you mean minutes, I would be worried that apple may reject this. Is it a static welcome screen? Are you planning a way to bypass it early?

Sorry, my mistake, it should be 3 seconds. Thank you very much.
snowffer is offline   Reply With Quote
Old 08-31-2010, 06:10 PM   #7 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 5
Default

I am still hoping for an answer to the question i asked above.. thanks to anyone that can help.
stevbl01 is offline   Reply With Quote
Old 09-01-2010, 02:45 AM   #8 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 5
Default

Quote:
Originally Posted by stevbl01 View Post
I want to add a video right after my default image goes away. Would I use the viewdidload function for this or applicationDidFinishLaunching? Also after the video is done I want it to go to my main view. Would the main view be called in applicationDidFinishLaunching?

so basically when the app icon is pressed
-default image switches to video
-video plays then switches to
-main view
-default image switches to video > in viewDidLoad method, call play video.
-video plays then switches to > video delegate method tell finished, then call display main view.
kaleonyu is offline   Reply With Quote
Old 09-02-2010, 12:18 PM   #9 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 5
Default

Quote:
Originally Posted by kaleonyu View Post
-default image switches to video > in viewDidLoad method, call play video.
-video plays then switches to > video delegate method tell finished, then call display main view.

Thanks.
stevbl01 is offline   Reply With Quote
Reply

Bookmarks

Tags
welcome; ipad; automatic

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: 261
18 members and 243 guests
14DEV, @sandris, ADY, ArtieFufkin10, ckgni, Dani77, HemiMG, IphoneSdk, jakerocheleau, JasonR, MACralik, NSeven, prchn4christ, Rudy, silverwiz, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,767
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

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