As the question says,I want to get the position of a uibutton as shown in the image and I have to show a pop up menu from that uibutton(in the tableviews view).
I went through Question1 and Question2.But these are giving me different locations.
I use the code
CGRect windowRect = [_tableView convertRect:button.frame fromView:tempCell];
temp cell is my selected cell.
I am using kxMenu for popUp menu,and I use the following code.
[KxMenu showMenuInView:_tableView
fromRect:windowRect
menuItems:menuItems];
So,I need to get the windowRect correctly.Anybody have any idea?