[問題] 關於tableView push到detailView
小弟剛剛開始寫App的程式做練習~
開了一個Tabbed based的架構~
其中實做一個tableview
在tableviewcontroller.m
-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:
(NSIndexPath *)indexPath{
detailviewcontroller *detail = [[detailviewcontroller alloc] init];
//........pass 一些data
[self.navigationcontroller pushviewcontroller:detail animated:YES];
}
在storyboard裡面~也有在tableview的cell拉了push指向detailviewcontroller
這樣寫還是無法push到detailView
請問是那裡出了問題嗎?
麻煩請版上的高手解答一下疑問!感恩!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 74.137.73.38
推
04/27 16:14, , 1F
04/27 16:14, 1F
推
04/28 10:39, , 2F
04/28 10:39, 2F
→
04/28 11:07, , 3F
04/28 11:07, 3F
→
04/28 11:08, , 4F
04/28 11:08, 4F
→
04/28 11:09, , 5F
04/28 11:09, 5F
→
04/28 11:09, , 6F
04/28 11:09, 6F
→
04/28 11:10, , 7F
04/28 11:10, 7F
→
04/28 12:03, , 8F
04/28 12:03, 8F
→
04/28 12:03, , 9F
04/28 12:03, 9F