How to use search for nearby interest points ?

I'm trying to use search for nearby points (https://developer.apple.com/documentation/mapkit/searching_for_nearby_points_of_interest) to display hotels nearby the user in a table view, but I didn't get how to do that from the documentation, I already managed permission for the user's location, how should I do it ?

Replies

Perhaps if you discussed what isn't clear/not working for you from those docs and download, keeping in mind 'how to do it' is a broad question and assumes replies know your skill set, etc.