Local-Notifications:iOS 中的本地通知示例

上传者: 42117082 | 上传时间: 2022-08-13 19:31:37 | 文件大小: 39KB | 文件类型: ZIP
本地通知 概述 NSLocalNotificationScheduler 类是一个单例类,这是一个需要理解的重要概念,因为它们展示了非常有用的设计模式。 这个想法在整个 iPhone SDK 中都有使用,例如,UIApplication 有一个名为 sharedApplication 的方法,当从任何地方调用它时,将返回与当前运行的应用程序相关的 UIApplication 实例。 NSLocalNotificationScheduler 单例类能够根据特定的触发日期、警报文本、警报操作、声音文件、启动图像、用户信息和重复间隔来安排本地通知。 还有几种辅助方法可以管理每个通知的 bagde 计数,在操作系统收到通知时处理通知,以及取消特定通知。 #####版本 版本 1.0 - 本地通知的设计和实现 #####建造 Master -> 仅适用于 iOS 5.0 或更高版本 用法 #i

文件下载

资源详情

[{"title":"( 21 个子文件 39KB ) Local-Notifications:iOS 中的本地通知示例","children":[{"title":"Local-Notifications-master","children":[{"title":"README.md <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"Local NotificationsTests","children":[{"title":"LocalNotificationsTests.h <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"LocalNotificationsTests.m <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Default-568h@2x.png <span style='color:#111;'> 18.16KB </span>","children":null,"spread":false},{"title":"Local Notifications.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"xcshareddata","children":[{"title":"Local Notifications.xccheckout <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"xcuserdata","children":[{"title":"rahulnadella.xcuserdatad","children":[{"title":"UserInterfaceState.xcuserstate <span style='color:#111;'> 22.87KB </span>","children":null,"spread":false},{"title":"WorkspaceSettings.xcsettings <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 18.17KB </span>","children":null,"spread":false},{"title":"xcuserdata","children":[{"title":"rahulnadella.xcuserdatad","children":[{"title":"xcschemes","children":[{"title":"Local Notifications.xcscheme <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"xcschememanagement.plist <span style='color:#111;'> 581B </span>","children":null,"spread":false}],"spread":true},{"title":"xcdebugger","children":[{"title":"Breakpoints.xcbkptlist <span style='color:#111;'> 91B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"Local Notifications","children":[{"title":"AppDelegate.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"NSLocalNotificationsScheduler.h <span style='color:#111;'> 6.57KB </span>","children":null,"spread":false},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"NSLocalNotificationsScheduler.m <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"main.m <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"Local Notifications-Prefix.pch <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"Local Notifications-Info.plist <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明