Add a back button

August 4, 2008    Intro Programming

Now that we have two views nicely done, we want to be able to navigate back to the main view. We do this with a back view in navigation bar in the top.

Open up RootViewController.m and look for the viewDidLoad function. You want to add the following line to it.

self.title = @"Photoblog";

Then when you click on browse, it will show Photoblog in the back navigation.

comments powered by Disqus