|
Eventually I’ll stop bothering to say this: use the documentation.
There is one change you have to make in each of the three classes in the
project.
The third task is a little tricky. As we saw, each view controller has a navigation
item associated with it that holds information about what appears in the navigation
bar when that view controller is visible. The navigation item has a property called
backBarButtonItem which represents the back button for the next
view controller — that is, the back button that is visible when you’re
drilled-down from this one by one level. You’ll have to create a new
UIBarButtonItem with the right title (and nil for the target
and action, and UIBarButtonItemStyleBordered as the style) and set it as
backBarButtonItem. (Where? You figure that out.)
|