Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 29th, 2012  |  syntax: None  |  size: 0.38 KB  |  hits: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. iOS 5 : -viewWillAppear is not called after dismissing the modal in iPad
  2. AddName *add = [[AddName alloc] initWithNibName:@"AddName" bundle:nil]
  3. add.modalPresentationStyle = UIModalPresentationFormSheet;
  4.  
  5. [self presentModalView:add animated:YES];
  6.        
  7. [self dismissModalViewControllerAnimated:YES];
  8.        
  9. NSLog(@">>>>>>>>>> new mwthod get called");
  10. [self viewWillAppear:TRUE];
  11. return YES;