Showing an alert/notification in Iphone at a particular time
I would like to know what IOS functionality to use to enable me to display a alert/notification at a particular time on the iphone. The time would be set either by the user or the developer using the UIDatePicker. Running the Local Notification Tutorial, the alert/notification is getting displayed only when the app is in the background(please correct me if I am wrong)
It would be great if someone could help me out with this
thank you.. the thing is I know how to use UIAlertView.. I dont know how to code to make the UIAlertView pop up at the specified time...
In the tutorial I specified, they use
Seems like you didn't understand my post. When the fireDate comes, and your app is in the background, the system alerts the user for you. If your app is open, no message will come up, but your App Delegate class will receive a call to the method I posted above. At that time, you can choose to show an UIAlertView
yes.. I was not able to understand your post earlier but now I got what you were saying.. thanks for the help... will try it out and see if I can implement it...
Quote:
Originally Posted by nobre84
Seems like you didn't understand my post. When the fireDate comes, and your app is in the background, the system alerts the user for you. If your app is open, no message will come up, but your App Delegate class will receive a call to the method I posted above. At that time, you can choose to show an UIAlertView
I tried it out and it worked!! thank you very much!!!
Quote:
Originally Posted by nobre84
Seems like you didn't understand my post. When the fireDate comes, and your app is in the background, the system alerts the user for you. If your app is open, no message will come up, but your App Delegate class will receive a call to the method I posted above. At that time, you can choose to show an UIAlertView