Titanium.App.iOS.scheduleLocalNotification

Function of Titanium.App.iOS.
Platform Since
iPhone 1.5
iPad 1.5

Summary

schedule a local notification

Arguments

Name Type Summary
params Object

dictionary of key/values that are used to create the notification. the date property is when the notification should fire, repeat is an optional property of one of: weekly, daily, yearly, monthly, alertBody is an optional property that is the body of the alert when the notification is displayed, alertAction is an optional property that represents the alert button text or the 'slide to unlock...' slider in place of unlock, alertLaunchImage is an optional property that specifies the launch image to display instead of Default.png when launching the application, badge is the optional badge value for the application, sound is the optional property to specify the sound to play when the notification is triggered and userInfo is the optional property which specifies data passed to the application upon launch when the notification is triggered.

Return Type

Object