i want to fire a alarm that will ring after 2 secs ,how ti handle alarm code any help?
Thanks
i want to fire a alarm that will ring after 2 secs ,how ti handle alarm code any help?
Thanks
It really depends what do you mean by an alarm
...
If you want a popup alert after a while, you can use Local Notification, which is an iOS 4 feature. An example can be found here.
If you need certain function to be invoked by a timer, try NSTimer. Here is an example.