需要一些幫助來弄清楚如何將一些文本(UITextView?)添加到UITableView細節視圖。屏幕截圖顯示了我需要添加UITextView的空白空間。如何將UITextView添加到UITableView細節
這裏是什麼,我有一個截圖:
這裏就是我分配的UITableView細節稱號值的方法。
//MainViewControler.m
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
UIViewController *detailsViewController = [[UIViewController alloc] init];
// get detail view controller "title" value
detailsViewController.title = word.term;
[[self navigationController] pushViewController:detailsViewController animated:YES];
[detailsViewController release];
}
謝謝!
你的意思是當你點擊UITableView Cell時,你會得到這個頁面的權利? – Krishna 2012-02-06 17:40:11
對,你是:-) – Slinky 2012-02-06 17:54:56