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 09-20-2010, 01:58 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: Southern Oregon
Posts: 23
DangerD is on a distinguished road
Default Splash Screen flip to mainView

Hey all, one more noob to add to the long list with a (I'm guessing) basic question:

I found the threads on how to easily implement the basic built-in splash screen with creating a Default.png and using sleep(2); (or whatever time length desired) in viewDidLoad, but what I'd like to do is go from the splash screen and use the flip animation to get to the first view of the app. In the case of THIS app, the first view is a random selection from a series of images that the user is presented with. I can't quite figure out how or if the flip animation can be used alongside the sleep function. Anyone know?

I've also seen a different way to close the splash "manually" with the following:

Code:
-(void)viewDidLoad {
	
	UIImage *mySplashImage = [UIImage imageNamed:@"ImageName.png"];
	myImageView = [[UIImageView alloc] initWithImage:mySplashImage];
	myImageView.frame = CGRectMake(0, 0, 320, 480);
	[self.view addSubview:myImageView];
	
	NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:2 target:self selector:@selector(hideSplashScreen) userInfo:nil repeats:NO];
	timer = nil;
	
}

-(void)hideSplashScreen {

	myImageView.alpha = 0.0;
	
	NSLog(@"hidden");
	
}
I figured there would be a way to add in the animation functionality from this method, but as I still have immense noob status, I am unsure how to implement the code...any thoughts from the gurus? Thanks!
DangerD is offline   Reply With Quote
Old 09-20-2010, 12:34 PM   #2 (permalink)
Registered Member
 
Join Date: Sep 2010
Location: Southern Oregon
Posts: 23
DangerD is on a distinguished road
Default

Anyone know what I'm trying to do? Please help!
DangerD is offline   Reply With Quote
Reply

Bookmarks

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: 313
14 members and 299 guests
2ndSegment, cayladv57, cgokey, dermotos, djohnson, Domele, Hamad, linkmx, markuschow, pungs, Sloshmonster, teebee74, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,655
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pungs
Powered by vBadvanced CMPS v3.1.0

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