Member Since: Aug 13, 2011
Location: West Sussex, UK
04-15-2012, 06:56 PM
The UIButton class is a sub class of UIView, so any methods or properties of UIView can
be called on a UIButton, that includes all of the CGPoint CGRect and Bounds properties, I
believe from memory that the UIView class has frame and center properties, which gets
and sets the view's position within its super view.
So those UIView properties and methods are the nearest thing to a where am i
implementation for a UIButton object.
So read the docs on the UIView class, and you can use any of the methods on all of the
other UI controls.