I have an UIImageView in the self.view (the main View) and inside it there is a UIButton. I want to know what\'s the frame of UI
Something like this? might be totally wrong, dint really thinkt it through ;p
CGRect frame = CGRectMake((self.view.frame.origin.x-imageview.frame.origin.x) +btn.frame.origin.x,
(self.view.frame.origin.y.imageview.frame.origin.y)+btn.frame.origin.y,
btn.frame.size.width,
btn.frame.size.height);
I don't know if theres any easier way.