iOS Question: Download Questions PDF
Can you please explain the difference between frame and bounds?
![iOS Interview Answer iOS Interview Question](https://globalguideline.com/public/images/interview/10.png)
Answer:
The frame of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to the super-view it is contained within. The bounds of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to its own coordinate system (0,0).
Download iOS Interview Questions And Answers
PDF
Previous Question | Next Question |
What is retain counts? | Can a "delegate" retained in iOS? |