Explain the difference between bounds and frame?
Answer / Bharat Bhushan
In Apple iOS, both `bounds` and `frame` properties of a UIView represent its size and position relative to its parent view or superview. However, they differ slightly in their purpose and calculation:n
1. Frame: Represents the absolute position and size of a view within its superview's coordinate system. It includes any transformations applied to the view, such as translations or rotations.
2. Bounds: Represents the size and position of a view's content area, without considering any transformations applied to the view. The bounds origin is always (0, 0) regardless of the view's position.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain difference between release and autorelease?
what are fetched properties? How do you create a fetched property?
What are various singleton instances provided by frameworks?
What is Process?
Is ios multithreading?
what is Xcode command line tools package?
Assume that an app is not in foreground but is still executing code. In which state will it be in?
What’s the difference between not-running, inactive, active, background and suspended execution states?
What is synthesize in ios?
Define decoding or deserialization?
is code completion is active by default in iphone development?
What are ios apps coded in?