Может быть, вы можете использовать анимацию UIView.
Вы добавляете вид карты на ту же высоту, что и вид таблицы, но с его альфа-каналом, установленным в 0 в конструкторе интерфейса.
После этого вы можете сделать следующее в вашем методе IBAction:
[UIView beginAnimations:@"displayMapView" context:nil];
[UIView setAnimationDuration:0.3];
mapview.alpha = 1;
CGRect tableviewFrame = tableview.frame;
tableview.origin.y += 200; // Height of your map view
tableview.frame = tableviewFrame;
[UIView commitAnimations];
Это должно сделать это!
Или вы можете попробовать что-то подобное в вашем (UITableViewCell *) tableView: (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath:
IWebView* webView = [[UISynchedWebView alloc] initWithFrame:
CGRectMake(0, 0, cell.bounds.size.width, cell.bounds.size.height)];
webView.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;
webView.tag = 1001;
webView.userInteractionEnabled = NO;
webView.delegate = self;
[cell addSubview:webView];
И загрузите запрос Google Maps или, возможно, поместите вид карты прямо в свою ячейку, не пробовали этого.