title: I cannot present View Controller on iPhone
body: <p>I am using the code below to present a view controller on iPad, and it works:</p>
  
  <pre><code>- (IBAction)restoreTapped:(id)sender{
  
      RestoreInfoViewController* restoreInfoViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"RestoreInfoViewController"];
      restoreInfoViewController.delegate = self;
      [self presentViewController:restoreInfoViewController animated:NO completion:nil];
  }
  </code></pre>
  
  <p>On the iPhone, a black screen appears. And I am getting the following warning:</p>
  
  <pre><code>Presenting view controllers on detached view controllers is discouraged 
  </code></pre>
  
  <p>Where am I wrong?</p>