UIView
and its subclasses all have the properties frame
and bounds
. What's the difference?
相关问题
- Image loads in simulator but not device?
- Unable to change UISearchBar cancel button title c
- NSOutlineView drag line stuck + blue border
- UIModalTransitionStyleFlipHorizontal flips Vertica
- Xcode4 templates now use underscore on iVars?
相关文章
- Xcode: Is there a way to change line spacing (UI L
- Converting (u)int64_t to NSNumbers
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- “getter” keyword in @property declaration in Objec
- How to get a CGImageRef from Context-Drawn Images?
- NSMenuItem KeyEquivalent “ ”(space) bug
- Why are my UIView layer properties not being set w
- create UIImageView
The frame is the rectangle that defines the UIView with respect to its superview.
The bounds rect is the range of values that define that NSView's coordinate system.
i.e. anything in this rectangle will actually display in the UIView.