2

I am working on iPhone application in which there is an option for Alarm. Is it possible to araise alarm even my application close.

Siddiqui
  • 7,662
  • 17
  • 81
  • 129
  • 1
    This can't be implement in our application because application will go to sleep mode when we click on iphone . if you want to ring default alarm then you can access calender through new asset library and can set alarm – GhostRider Jan 19 '11 at 10:35

3 Answers3

2

Yes to a certain degree there is, check out the local notifications programming guide (local notifications are available in iOS 4 and newer).

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html

Robin
  • 8,197
  • 11
  • 45
  • 74
1

Use UILocalNotification to set the notifications. Then even your application is not in foreground you will get alerts.

YPK
  • 1,851
  • 18
  • 18
1

Use local notification available in 4.0. for a tutorial see this link

Ishu
  • 12,797
  • 5
  • 35
  • 51