それを考え出した
サブクラス EKEventViewController で、そのクラス viewDidAppear で tableview の scrollview の垂直方向の contentSize を増やします 最後の行の終わりの後に私の小さなビュー コントローラーを追加します
+(void) viewDidAppear:(BOOL)animated
{
if ([self.event.location length]>0)
{
UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle: nil];
_mev = (MapEventView*)[mainStoryboard instantiateViewControllerWithIdentifier: @"MAP_EVENT_VIEW"];
UITableView* tv=[self getEKEventTableView];
//tv.showsVerticalScrollIndicator=YES;
tv.contentSize=CGSizeMake(tv.contentSize.width, tv.contentSize.height+MAP_EVENT_VIEW_PADDING+_mev.view.frame.size.height);
// get last row in last sectoin
int lastSection=[tv numberOfSections]-1;
int lastRow=[tv numberOfRowsInSection:lastSection]-1;
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:lastRow inSection:lastSection];
UITableViewCell* cell=[tv cellForRowAtIndexPath:indexPath];
float mapeventview_origin=cell.frame.origin.y+cell.frame.size.height;
TGLog(@"%d,%d %f %f", lastSection, lastRow, cell.frame.origin.y, mapeventview_origin);
TGLog(@"event %@ location %@", self.event.title, self.event.location);
_mev.ewc=[[EKEventWithCoords alloc] init];
_mev.ewc.event=self.event;
[tv addSubview:_mev.view];
[_mev.view setCenter:CGPointMake(_mev.view.center.x, _mev.view.center.y+mapeventview_origin)];
}
}