Drawing Pins with Annotations
Maps UIKit SwiftUI
This lesson will go over how to draw pins with MKPointAnnotation objects in our map view. This is really simple and only requires a couple of lines of code. We'll also be looking at how to customize our pins with a custom asset file.

Comments (3)
omarubilla
3 years ago
Hi Brian, When running SwiftUI, I get the 'only available in ios 13.0 or newer' error. Code works if I run it in a new project only using SwiftUI, but if I try merging SwiftUI code with other primarily UIKit code, it crashes- even after adding the 'available in ios 13.0' fixes above each class everywhere. I've checked stackoverflow but think you might have a simpler/smarter solution? Thanks for your time.
04jknowles
3 years ago
Hi Brian, Im trying to decode JSON and place annotations using the data. I have watched your course on JSON parsing as well but I can't seem to get it to work with MapView! Let me know if you can help! Thanks James
shivaskanthan
3 years ago
Hi Brian, enjoying the course so far but noticing a lot of issues with streaming the video. It always gets stuck and needs to be reloaded. I'm not sure if its an isolated issue for me. I'm not having any issues with YouTube or Netflix so it can't be a connection issue.
Brian Voong
3 years ago
shivaskanthan
3 years ago
Understandable and I was expecting that response as well. Thanks!
HELP & SUPPORT