Going from the Map screen to the Restaurant Detail screen
The Map screen now displays your custom MKAnnotationView
instances, and tapping one displays a callout bubble showing a restaurant's details. The button in the callout bubble doesn't work, though.
Inside the resources
folder that you downloaded earlier, you'll find some completed storyboards named RestaurantDetail.Storyboard
, PhotoFilter.Storyboard
, and ReviewForm.Storyboard
, which you'll need to add to your project. These storyboards contain the scenes for the Restaurant Detail screen, the Photo Filter screen, and the Review Form screen.
To present the Restaurant Detail screen from the callout button, you'll need to add a storyboard reference to your project and link the RestaurantDetail.storyboard
to it. You'll do this in the next section.
Creating and configuring a storyboard reference
There are a lot of scenes in Main.storyboard
. As your project grows, you'll find it more challenging...