The view controllers and navigation are now in place. All we need now is to add some addition controls to view and edit information and a little logic.
DetailViewController, we need a set of
UILabel controls that can be used to display the properties of a park, and add buttons that can initiate actions to view photos or receive directions.
DetailViewController, perform the following steps:
UIScrollViewonto the View for
UILabelcontrols for each property defined on
NationalParkexcept for the
Idproperty. Also add
UILabelcontrols that can be used as labels for the properties. Use the screen mockups from the The sample national parks app section ...