1
votes

I wanna when user press each cell in tableView on ipad , and then it will show a popoverView with detail Data..

But in this delegate:- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {}

I can't use a sender to let popoverView show up... Or how could I use a sender to show popoverView show up??

Thanks in advance...

Mini

1

1 Answers

4
votes

You can retrieve the cell by sending the following message to your tableView

- (UITableViewCell *)cellForRowAtIndexPath:(NSIndexPath *)indexPath

Or if you just want to get a CGRect then use the following method

- (CGRect)rectForRowAtIndexPath:(NSIndexPath *)indexPath