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 12-27-2009, 10:46 PM   #1 (permalink)
College Student
 
ColouredRobot's Avatar
 
Join Date: Dec 2009
Location: Los Angeles, CA
Posts: 75
ColouredRobot is on a distinguished road
Exclamation Timer on UIAlertView

Hey, So I have an alert view that appears as soon as my app finishes launching. I tried the sleep (x); but that holds the entire app. Is there any way I can make my alert view wait an additional second after the app finishes launching? Thanks!
ColouredRobot is offline   Reply With Quote
Old 12-28-2009, 01:07 AM   #2 (permalink)
College Student
 
ColouredRobot's Avatar
 
Join Date: Dec 2009
Location: Los Angeles, CA
Posts: 75
ColouredRobot is on a distinguished road
Default

Quote:
Originally Posted by ColouredRobot View Post
Hey, So I have an alert view that appears as soon as my app finishes launching. I tried the sleep (x); but that holds the entire app. Is there any way I can make my alert view wait an additional second after the app finishes launching? Thanks!
I really need to implement a delay, it's coming out too quick! If anyone can suggest something please!
ColouredRobot is offline   Reply With Quote
Old 12-28-2009, 02:10 AM   #3 (permalink)
Registered Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
smasher will become famous soon enough
Default

Yes, you can use an NSTimer or the performSelector: afterDelay: method of NSObject. The performSelector is probably your best bet, since is sounds like you don't need a repeating event.
__________________

Free Games!
smasher is offline   Reply With Quote
Old 12-28-2009, 02:54 AM   #4 (permalink)
College Student
 
ColouredRobot's Avatar
 
Join Date: Dec 2009
Location: Los Angeles, CA
Posts: 75
ColouredRobot is on a distinguished road
Default

Quote:
Originally Posted by smasher View Post
Yes, you can use an NSTimer or the performSelector: afterDelay: method of NSObject. The performSelector is probably your best bet, since is sounds like you don't need a repeating event.
You saved my life seriously, far easier than I ever expected!!! Thank you sooo much!
ColouredRobot is offline   Reply With Quote
Reply

Bookmarks

Tags
delay, launch, timer, uialertview

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: 342
16 members and 326 guests
akacaj, alexP, ClerurcifeDer, Domele, Duncan C, givensur, GraffitiCircus, guusleijsten, JmayLive, michelle, NetGuru, NSString, Paul Slocum, Punkjumper, Sloshmonster, soohyun
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,650
Threads: 94,114
Posts: 402,883
Top Poster: BrianSlick (7,990)
Welcome to our newest member, soohyun
Powered by vBadvanced CMPS v3.1.0

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