Converting a CGRect of a object in a subview in UITableViewCell in UITable to CGRect with respect to
- by user362956
Hey,
I want to converte a CGRect "aRect" of a object in a subview in UITableViewCell in UITable to CGRect with respect to self.view.
The problem is that aRect is with respect to the subview in the table cell.
But i want to make it so that it is with respect to self.view
What i tried is this
rect = [self.view convertRect:aRect.frame toView:cellView];
but it doesn't work.
So how to convert it?