CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

DryLocation-iOS 0.0.1

DryLocation-iOS 0.0.1

Maintained by duanruiying.



  • By
  • duanruiying

DryLocation-iOS

iOS: 简单集成系统定位状态获取、定位权限申请、经纬度获取

Prerequisites

  • iOS 10.0+
  • Swift 5.0+

Installation

  • pod 'DryLocation-iOS'

Features

获取当前定位权限状态

DryLocation.locationStatus()

申请定位权限

DryLocation.accessUsage { (state) in
}

DryLocation.accessAlways { (state) in
}

启动定位

DryLocation.locationStart({ (lat, long) in
})

停止定位

DryLocation.locationStop()