标签: ios objective-c apple-push-notifications urbanairship.com
根据Urban Airship文档,我在application:didFinishLaunchingWithOptions方法上添加了以下代码,用于autobadge更新,但它无效。请帮助我正确编码 UA自动徽章更新。
application:didFinishLaunchingWithOptions
代码:
[[UAirship push] setAutobadgeEnabled:YES]; [[UAirship push] resetBadge];//zero badge