LifeAndDeath:一个简单的 iOS 应用程序,通过在地图上显示生活事件来演示 MapKit 的使用-源码

上传者: 42128015 | 上传时间: 2021-07-21 12:10:21 | 文件大小: 46KB | 文件类型: ZIP
生与死 一个简单的 iOS 应用程序,通过在地图上显示生活事件来演示 MapKit 的使用。 按照以下步骤集成 MapKit 准备 将 MapKit 框架添加到项目中 导入 MapKit 并符合 MapDetailViewController 上的 MKMapViewDelegate 更改@import CoreLocation到@import MapKit在Entry.h文件 将 LifeEvents 的枚举添加到 Person 类,我们将使用它来创建 MKAnnotations 将 storyboard 中的 cellSelectionStyle 更新为 Blue 并将 segue 添加到 MapDetailViewController 注释 将 MapView 的插座添加到 MapDetailViewController 将 MapDetailViewController 设置

文件下载

资源详情

[{"title":"( 26 个子文件 46KB ) LifeAndDeath:一个简单的 iOS 应用程序,通过在地图上显示生活事件来演示 MapKit 的使用-源码","children":[{"title":"LifeAndDeath-master","children":[{"title":"entity-relationship-diagram-Life&Death.bmp <span style='color:#111;'> 305.74KB </span>","children":null,"spread":false},{"title":"LifeAndDeath","children":[{"title":"main.m <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"Person.h <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"AppDelegate.h <span style='color:#111;'> 284B </span>","children":null,"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"LaunchScreen.xib <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"Main.storyboard <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false}],"spread":true},{"title":"PersonController.h <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"MapDetailViewController.h <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"Person.m <span style='color:#111;'> 1017B </span>","children":null,"spread":false},{"title":"ViewController.h <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"MapDetailViewController.m <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"ViewController.m <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"PersonController.m <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false}],"spread":false},{"title":"LifeAndDeath.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 157B </span>","children":null,"spread":false},{"title":"xcuserdata","children":[{"title":"calebhicks.xcuserdatad","children":[{"title":"UserInterfaceState.xcuserstate <span style='color:#111;'> 17.76KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 17.72KB </span>","children":null,"spread":false},{"title":"xcuserdata","children":[{"title":"calebhicks.xcuserdatad","children":[{"title":"xcschemes","children":[{"title":"LifeAndDeath.xcscheme <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"xcschememanagement.plist <span style='color:#111;'> 574B </span>","children":null,"spread":false}],"spread":true},{"title":"xcdebugger","children":[{"title":"Breakpoints_v2.xcbkptlist <span style='color:#111;'> 473B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"LifeAndDeathTests","children":[{"title":"LifeAndDeathTests.m <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 754B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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