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 restaurant details. The button in the callout bubble doesn't work, though.
Inside the resources
folder that you downloaded earlier, you'll find completed storyboards named RestaurantDetail.Storyboard
, PhotoFilter.Storyboard
, and ReviewForm.Storyboard
, which you'll 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 add a storyboard reference to your project, and link the RestaurantDetail
storyboard file to it. You'll do this in the next section.
Creating and configuring a storyboard reference
There are a lot of scenes in the Main
storyboard file. As your project grows, you'll find it more challenging to keep...