码迷,mamicode.com
首页 > 移动开发 > 详细

IOS - Ask for Application Badge permission ios8

时间:2014-12-06 20:15:02      阅读:145      评论:0      收藏:0      [点我收藏+]

标签:io   ar   os   for   on   ad   as   tt   ios   

UIUserNotificationSettings* notificationSettings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound categories:nil];
[[UIApplication sharedApplication] registerUserNotificationSettings:notificationSettings];

IOS - Ask for Application Badge permission ios8

标签:io   ar   os   for   on   ad   as   tt   ios   

原文地址:http://www.cnblogs.com/tx8899/p/4148689.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!