Make each UITableView cell open new views?
How do you make eac开发者_C百科h cell in a UITableView open a new view or .xib? An easy tutorial would be helpful.
Hope Helpful for U...
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
if(indexPath.row==0)
{
//Open New View select on 1st row
}
if(indexPath.row==1)
{
//Open New View select on 2st row
}
}
See the following links
http://adeem.me/blog/2009/05/19/iphone-programming-tutorial-part-1-uitableview-using-nsarray/
Write your navigation code here,
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
}
精彩评论