I am trying to add the message bar that shows up in the maps app, like the one that says “53 m” in the screenshot below. anyone know how to do this? I’m guessing it’s part of the navigationController? Thanks.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All you have to do is add a
UIViewto the viewController that contains the mapView. Be sure it is positioned over theMKMapView. Also you can set thealphaproperty of the new view to make it look like the screenshot.Add a
UILabelas a subview of the new view and link it as aIBOuletso you can set the text.