开发者

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

开发者 https://www.devze.com 2023-02-12 14:23 出处:网络
I wanna when user press each cell in tableView on ipad , and then it will show a popoverView with detail Data..

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

精彩评论

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