Get on screen coordinates of a certain UITableViewCell?

前端 未结 1 1659
暖寄归人
暖寄归人 2020-12-31 16:24

So, I have this UITableView. It\'s in an iPad application. Some of the cells have an accessory button on the right (the small round arrow). When that is pressed

相关标签:
1条回答
  • 2020-12-31 16:41

    Use the UITableView method -rectForRowAtIndexPath:. Note that that returns a rect within the table view’s coordinate system—if you need the rect relative to another view within the same window, use the UIView method -convertRect:fromView:.

    0 讨论(0)
提交回复
热议问题