随笔分类 -  iOS推送

摘要:1.进入https://www.jpush.cn/common/products,注册用户,下载ADK,查看使用说明2.简单的在AppDelegate中添加如下代码#import "AppDelegate.h"#import "APService.h"@interface AppDelegate (... 阅读全文
posted @ 2015-07-17 22:43 汤冉阳 阅读(268) 评论(0) 推荐(0)
摘要:推送需要真机调试#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate//注册完毕 远程推送通知之后就会调用-(void)application:(UIApplication *)applicat... 阅读全文
posted @ 2015-07-17 22:36 汤冉阳 阅读(233) 评论(0) 推荐(0)
摘要:#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate//无论程序在前后台运行,只要接收到通知,就会调用此方法-(void)application:(UIApplication *)applica... 阅读全文
posted @ 2015-07-17 22:27 汤冉阳 阅读(216) 评论(0) 推荐(0)