How to get Badge in IOS ?

Hollw ~~

How to get Badge in IOS ?? 
my app local badge is work ,But I cant update my badge when I close app …

what’s wrong ?? ps : I got notification message when I close app ,But not get Badge .

And What is launchArgs ?? 

my code : 

launchArgs = …

if launchArgs and launchArgs.notification then

    native.setProperty( “applicationIconBadgeNumber”, launchArgs.notification.badge )

end

Hi @tim12332000,

Have you carefully studied the guide on notifications, and the associated functions?

http://docs.coronalabs.com/guide/events/appNotification/index.html

Brent

Hi @tim12332000,

Have you carefully studied the guide on notifications, and the associated functions?

http://docs.coronalabs.com/guide/events/appNotification/index.html

Brent