From the course: iOS Development Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

MapKit points of interest

MapKit points of interest

- [Instructor] My course MapKit and Core Location has a bit of a problem brought to me by one of the viewers. In iOS 13, one feature was deprecated for a far more robust feature. Let's take a look at the new points of interest. Now if you open up the exercise file I've made a simple map application. If you go to the spot where it says map view shows points of interest like I have highlighted here, you'll see it says map view shows point of interest and then there's this boolean variable show ALLPOI. This was replaced with a system called the points of interest filter to select your points of interest by categories. However, to get the same functionality as having all or no points of interest, there are two properties of the class, MK point of interest filter including all and excluding all which do the same thing as the bool shows points of interest. So I'm going to change this around a bit and make a new version so to get…

Contents