diff --git a/PushDemo/AppDelegate.m b/PushDemo/AppDelegate.m index 5e6a0f9..2bf6b50 100644 --- a/PushDemo/AppDelegate.m +++ b/PushDemo/AppDelegate.m @@ -22,7 +22,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible]; - + self.window.rootViewController = [[UIViewController alloc]init]; //[[UIApplication sharedApplication] setApplicationIconBadgeNumber:10]; //1.创建消息上面要添加的动作(按钮的形式显示出来) diff --git a/README.md b/README.md new file mode 100644 index 0000000..9072236 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# PushDemo +iOS8对推送消息的快速回复demo +iOS9.0下需要设置rootviewcontroller