picture for some seconds

Member
Posts: 178
Joined: 2008.09
Post: #1
hi.
I know how touse a screen with a picture,
how can I do to show on the iphone screen a picture (480*320) just for 10 seconds
and then remove....
is there a kind to counter on xcode to do this please?

thanks a lot.

my iphone website: http://www.elsalvadorguia.com
intel Imac 20", iphone 8GB (2G)
Quote this message in a reply
Nibbie
Posts: 2
Joined: 2008.08
Post: #2
You could setup an NSTimer to go off in 10 seconds and, upon receiving the message triggered by the timer, hide the image.
Quote this message in a reply
Member
Posts: 178
Joined: 2008.09
Post: #3
thanks...
but when I get the code, where i have to paste...

next show the screen.... here?


delegate.m
[window addSubview:viewController.view];
[window makeKeyAndVisible];
[window addSubview:window1];
here?
[window addSubview:window2];
}


i found this, but i dont know how implement, and where,
please, could you giveme a hand ...
here is the url i found
http://developer.apple.com/documentation...000807-SW1

thanks a lot

my iphone website: http://www.elsalvadorguia.com
intel Imac 20", iphone 8GB (2G)
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #4
Place the second addsubview in another function then use

[self performSelector:@selector(FUNCTION_NAME) withObject:nil afterDelay:10.0];

to call that function in 10 seconds

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  picture before app ? imaumac 4 2,528 Nov 1, 2008 07:37 AM
Last Post: imaumac
  problems blitting a picture to the screen petr6534 4 3,736 Oct 20, 2004 04:18 PM
Last Post: petr6534