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
Post a Comment