Hi,
Could somebody show me how to get the x and y position of a UIButton in cocoa?
The button moves on the screen when clicked and I want to use it's current position to position another UIBUtton relative to it.
I've tried using
CGRect rect=[myButton imageRectForContentRect];
The compiler tells me that myButton may not respond to imageRectForContentRect.