ios app图片角标
2016-01-12 12:25
190 查看
UIUserNotificationType myType =
UIRemoteNotificationTypeBadge |
UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound;
UIUserNotificationSettings *mySetting = [UIUserNotificationSettings
settingsForTypes:myType categories:nil];
[[UIApplication
sharedApplication] registerUserNotificationSettings:mySetting];
[UIApplication
sharedApplication].applicationIconBadgeNumber =9999;
UIRemoteNotificationTypeBadge |
UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound;
UIUserNotificationSettings *mySetting = [UIUserNotificationSettings
settingsForTypes:myType categories:nil];
[[UIApplication
sharedApplication] registerUserNotificationSettings:mySetting];
[UIApplication
sharedApplication].applicationIconBadgeNumber =9999;
相关文章推荐
- iOS 3D touch
- Android Studio安装
- 列出android 声卡
- Android下的屏幕适配
- iOS性能优化三部曲(初级)
- iOS开发多线程篇—单例模式(ARC)整理小料
- 关于android里的文件创建及读写问题
- POJ 1650 Integer Approximation (追赶法求解)
- android应用程序窗口框架学习(2)-view绘制流程源代码解析-setContentView与LayoutInflater加载解析机制源码分析
- [Andorid开发艺术探索 读书笔记]View的事件体系(一)
- Android编程使用Intent传递对象的方法分析
- Activity生命周期
- android 来电拦截
- Android中的几种小窗口实现
- Android实现QQ抢红包插件
- Android编程获取地理位置的经度和纬度实例
- Android中回调接口使用实例
- 微信开发用户消息统一处理实现
- iOS,debug,release,distribution的区别
- Appstore proj: Calculate an App's Top-5 related apps(2)