How to display a modal popup that look like from a UITableViewCell (look like option ), which displaying a custom controller?
I'm trying to achieve something like contact app does ( see below ) :
Below is my current implementation, which only displaying common modal :
TSCAliasViewController *V2 = [[TSCAliasViewController alloc] initWithNibName:nil bundle:nil];
V2.modalPresentationStyle = UIModalPresentationFormSheet;
V2.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:V2 animated:YES];
V2.view.superview.frame = CGRectMake(0, 0, 400, 300);
V2.view.superview.center = self.formView.center;
Any idea?