iOS通知
文章平均质量分 54
sky_2016
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
iOS之新消息通知提示(声音、震动 )
一、APNS 1.注册 [cpp] view plaincopyprint? [[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotif原创 2014-10-25 09:22:39 · 4398 阅读 · 0 评论 -
iOS开发之自定义通知
使用步骤: 1、在某一方法中发送出一个通知 - (void)getIT{ [[NSNotificationCenter defaultCenter] postNotificationName:@"back" object:self]; }原创 2014-10-07 23:25:21 · 1814 阅读 · 0 评论 -
iOS开发之UILocalNotification本地通知
在实际iOS开发中,都会用到,iOS的通知有本地通知和远程通知两种。 在这里介绍一下iOS下如何使用UILocalNotification进行应用程序的本地通知,基本上大部分的app都会有这个功能。 (1)本地通知中心发送消息: UILocalNotification *notification=[[UILocalNotification alloc] init]; if (原创 2015-02-26 21:01:10 · 642 阅读 · 0 评论
分享