Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm going in completely in circles here. There is obviously something fundamental I am not understanding...</p> <p>In my RootViewController, to load the FlipsideView:</p> <pre><code>FlipsideViewController *viewController = [[FlipsideViewController alloc] initWithNibName:@"FlipsideView" bundle:nil]; self.flipsideViewController = viewController; [viewController release]; // Set up the navigation bar UINavigationBar *aNavigationBar = [[UINavigationBar alloc] initWithFrame:CGRectMake(0.0, 0.0, 320.0, 44.0)]; aNavigationBar.barStyle = UIBarStyleBlackTranslucent; self.flipsideNavigationBar = aNavigationBar; [aNavigationBar release]; UIBarButtonItem *buttonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(toggleView)]; UINavigationItem *navigationItem = [[UINavigationItem alloc] initWithTitle:@"App Title"]; navigationItem.rightBarButtonItem = buttonItem; [flipsideNavigationBar pushNavigationItem:navigationItem animated:NO]; [navigationItem release]; [buttonItem release]; </code></pre> <p>Meanwhile, in my FlipViewController, this shows the image picker:</p> <pre><code>UIImagePickerController *picker = [[UIImagePickerController alloc] init]; picker.delegate = self; picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; // THIS IS NOT WORKING [self.navigationController.navigationBar setHidden:YES]; [self presentModalViewController:picker animated:YES]; [picker release]; </code></pre> <p>I've commented the bit that I thought would remove the navigation bar. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload