IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API


Set the application badge to the number provided. Only applicable to iOS applications.

Parameter Description
number Integer displayed as a badge over the application icon. 0 or below removes the application badge. Values too long to be displayed entirely (5 or more digits in an iPhone device) are truncated with ellipsis.

Return Value


Parent JavaScript client-side API