- 博客(2)
- 收藏
- 关注
原创 iOS本地推送通知的基本使用
iOS10以前本地通知(UILocalNotification)使用步骤:创建一个UILocalNotification对象设置触发时间及标题、内容注册并安排通知// 1. 创建一个UILocalNotification对象let localNotification = UILocalNotification()// 2. 设置触发时间及标题、内容localNotification.fireDate = Date(timeIntervalSinceNow: 3)localNotifi
2020-05-16 22:39:09
848
原创 iOS 定位服务与地图
CoreLocation使用步骤:导入CoreLocation库创建CLLocationManager对象请求用户授权 — 需要在Info.plist中加入 NSLocationWhenInUseUsageDescription 这个键设置代理 — 并实现相应代理方法调用开始定位方法调用结束定位方法import UIKitimport CoreLocationclass Vi...
2020-05-06 15:47:12
274
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人