UILocalNotification本地通知02
来源:互联网 发布:悦木之源 知乎 编辑:程序博客网 时间:2024/06/03 13:43
//// AppDelegate.m// 0117-本地通知#import "AppDelegate.h"@interface AppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. UILocalNotification *note = launchOptions[UIApplicationLaunchOptionsLocalNotificationKey]; if (note) { //点击本地通知启动的程序 }else{ //直接点击App图标启动的程序 } return YES;}/** * 当用户点击本地通知进入App的时候调用(App当时并没有被关闭) */- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification{ //程序正处于前台运行,直接返回 if(application.applicationState == UIApplicationStateActive) return; //点击通知再次回到前台}@end
0 0
- UILocalNotification本地通知02
- 本地通知UILocalNotification
- UILocalNotification 本地通知
- iOS本地通知UILocalNotification
- IOS 本地通知 UILocalNotification
- ios本地通知UILocalNotification
- 本地通知UILocalNotification
- iOS UILocalNotification本地通知
- 本地通知UILocalNotification
- iOS本地通知:UILocalNotification
- UILocalNotification本地通知介绍
- 本地通知UILocalNotification
- UILocalNotification 本地通知
- 本地通知UILocalNotification
- iOS本地通知:UILocalNotification
- iOS UILocalNotification本地通知
- UILocalNotification一本地通知
- iOS本地通知:UILocalNotification
- linux vi命令详解
- 【VMware】客户机删除文件后虚拟硬盘所占空间不减少的解决方法
- Android的ExpandabeListView的使用
- 怎么看网页是使用的哪个HTML版本编写的?
- 遍历map
- UILocalNotification本地通知02
- PhotoView:一款扩展自Android ImageView 支持通过单点/多点触摸来进行图片缩放的智能控件
- Ubuntu配置静态IP地址
- Android进阶笔记:AIDL内部实现详解 (二)
- 利用Networkx分析历年数学家间继承关系与数学学科发展
- Handler 机制
- android之listview点击item展开内容
- PHP开发调试环境配置
- Android性能分析工具Systrace的使用