scheduled tasks - Creating an alarm, that starts an app or initiates code in my app on iphone -


i found create alarm app on iphone 1 should use local notifications.

however, starts play sound @ given time.

i did not find way start app or start specific code, should happen a specific time.

is there way this? if available, please refer sample app.

thanks much...

it's easy. use nstimer. check doco.

[nstimer scheduledtimerwithtimeinterval:15.00     target:self selector:@selector(yourroutine) userinfo:nil repeats:no] 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -