title: How to show popover after dismissing keyboard
body: <p>_momVC = [[MOMViewController alloc]initWithNibName:@"MOMViewController" bundle:nil];
      _momVC.contents =  decodedString;
      _momVC.delegate = self;
      _momVC.preferredContentSize = CGSizeMake(self.view.frame.size.width, 90);</p>
  
  <pre><code>popoverControllerfornote = [[UIPopoverController alloc] initWithContentViewController:_momVC];
  popoverControllerfornote.popoverContentSize = CGSizeMake(self.view.frame.size.width, 80.0);
  //popoverControllerfornote.autoresizingMask=UIViewAutoresizingFlexibleHeight || UIViewAutoresizingFlexibleWidth;
  [popoverControllerfornote presentPopoverFromRect:[btn frame]
                                            inView:pagebar
                          permittedArrowDirections:UIPopoverArrowDirectionAny
                                          animated:YES];
  </code></pre>