How To Add Map Annotations In iOS (Swift 3 + Xcode 8) ?
How To Add Map Annotations In iOS Hi, In this tutorial, I’ll show you how to place an annotation on map in your iOS apps. Its super easy and you can learn to add annotations in map just by reading this small post only once. So, let’s get started and see how to do it. First of all, open your Xcode and create a Single View Application. Now, give some name to your project and make sure to choose Swift as the language. Now, drag and drop a Map View from objects library to your storyboard’s view controller. Now, place some constraints on this map view. For that, just click on Add constraint’s icon on right bottom corner of your screen and add 0 from all sides so that map can be visible on whole app screen. You can check below image for your reference: After adding constraints , ctrl+drag this map view to your ViewController.swift file and create its outlet. Now, open your ViewController.swift file. Here, first import MapKit framework. import...