LocationPicker2

LocationPicker

LocationPickerViewController is a UIViewController subclass to let users choose locations by searching or selecting on map.
It’s designed to work as UIImagePickerController.

User can select location either by searching or long pressing on map. In both cases you’ll receive CLPlacemark, which contains location coordinates as well as information such as the country, state, city, street address, and POI names.

Installation

Uses Swift 3, use version 0.6.0 for Swift 2/Xcode 7.

Carthage

github "almassapargali/LocationPicker"

CocoaPods

pod 'LocationPicker'

Screenshots

Map

Search

Select

Usage

Create a new instance in code (LocationPickerViewController()) or by setting class of UIViewController in Storyboard.
Then provide completion block which will be called when user closes view controller.