title: Display UIViewController as Popup without seguge
body: <p>I used code from this question <a href="https://stackoverflow.com/questions/16230700/display-uiviewcontroller-as-popup-in-iphone">Display UIViewController as Popup in iPhone</a> it is working fine but I don't want to use segue or I can say I can't use segue because all the code is created programmatically, so I cant set segue on button.</p>
  
  <p>I used this code but it didn't work</p>
  
  <pre><code>- (IBAction)open:(id)sender {
      UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
      UIViewController *newVC = (UIViewController *)[storyboard instantiateViewControllerWithIdentifier:@"Second"];
      [ViewController setPresentationStyleForSelfController:self presentingController:newVC];
      [self.navigationController pushViewController:newVC animated:YES];
  
  }
  </code></pre>
  
  <p><strong>Edit 1:</strong>
  View after popup </p>
  
  <p><img src="https://i.stack.imgur.com/DkVZA.png" alt="enter image description here"></p>