LocationRow
简介
LocationRow 是一个 Eureka 自定义行,允许您使用基于地图的 MKLocalSearch 在地图上搜索和选择感兴趣的地址或位置。
安装
Carthage
github "chamitha/LocationRow" ~> 1.0
使用
form
+++ Section("LocationRow Example")
<<< LocationRow("row1") { (row) in
row.placeholder = "Location"
}.onPresent({ (_, presentingViewController) in
presentingViewController.title = "Location"
presentingViewController.placeholder = "Enter Location"
})
要求
- iOS 12.0+
- Xcode 10.1+
- Swift 4.2+
- Eureka 4+