开发者

How could I show popoverView when user press any cell on tableView?

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

B开发者_如何学JAVAut 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


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜