Note that there are some explanatory texts on larger screens.

plurals
  1. POblack bar as the view fades when I am using navigation controller
    primarykey
    data
    text
    <p>I'm writing my first iPhone app and I am trying to figure out how to have a MasterView and DetailsView like in the example. However, instead of using a TableView, I want to use a button on the MasterView to go to the SignUpView. I want the MasterView to NOT have a navigation bar but the SignUpView needs to have one.</p> <p>I have tried putting a NavigationController into the MasterView using the interface builder. This doesn't seem to do anything at all ... I.e. I make the following call:</p> <pre><code>[self.navigationController pushViewController:signUpViewController animated:YES]; </code></pre> <p>And nothing happens. The SignUpView is never shown.</p> <p>So then I declared a NavigationController in the AppDelegate. The above call in the same function that it was in before (button handler, button is in MasterView) works now! It takes me to the SignUpViewController.</p> <p>however, the issue is, when I press back on the navigation bar in the sign up view, the navigation bar shows up again in the MasterView. I tried to set</p> <pre><code>self.navigationController.navigationBarHidden = YES; </code></pre> <p>in viewDidLoad and viewDidAppear, but that causes a black bar to appear in the transition from SignUpView to MasterView.</p> <p>I tried to not set it in one of the two, and that causes the animation to go smoothly, but the navigation bar shows up in the MasterView.</p> <p>I feel like this should be pretty simple to do ... but I'm at my wits end trying to figure this out. Some help would be really appreciated!</p> <p>Thanks.</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.
 

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