created table view progamatically...
attatchmentTableView=[[UITableView alloc]initWithFrame:CGRectMake(attatchmentsLabel.frame.origin.x+200, attatchmentsLabel.frame.origin.y-20, issueHistoryTextView.frame.size.width, 100) ];
attatchmentTableView.scrollEnabled=YES;
//attatchmentTableView.userInteractionEnabled=YES;
attatchmentTableView.layer.borderColor = [UIColor purpleColor].CGColor;
attatchmentTableView.allowsSelectionDuringEditing=YES;
attatchmentTableView.layer.cornerRadius = 10.0f;
attatchmentTableView.allowsSelection=YES;
attatchmentTableView.layer.cornerRadius=4;
attatchmentTableView.layer.borderWidth=3.0f;
attatchmentTableView.delegate=self;
attatchmentTableView.dataSource=self;
[createIssueView addSubview:attatchmentTableView];
and impletemented table view datasource
and delegate
methods, but unable to call didSelectRowAtIndexPath
method.
So any one can help in this issuance..Thanks in advance