- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[[tableView cellForRowAtIndexPath:indexPath] setSelected:NO animated:YES];
if(indexPath.section==0)
{
if([array1 objectAtIndex:0])
{
BirthDateController *yeniSayfa=[[BirthDateController alloc] init];
yeniSayfa.modalTransitionStyle=UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:yeniSayfa animated:YES];
[yeniSayfa release];
}
}
}
array1の最初の項目だけがこのBirthDateモーダルビューになりますが、最初のセクションすべてがこのmodalviewを使用しています。最初のセクションの最初のセルのみを作成するのに手伝ってくださいモーダルビュー。どのように私は別のセルから別のビューコントローラに行くために同じナビゲーションコントローラを使用できますか?
ありがとうたくさんの仲間が働いています:) –
@ダニーあなたは大歓迎です! – albertamg