Whats the difference between frame and bounds?



Whats the difference between frame and bounds?..

Answer / maanya

The frame of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to the superview 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).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is id in ios?

0 Answers  


Which is the application thread from where uikit classes should be used?

0 Answers  


What makes react native special for ios?

0 Answers  


What is App Bundle?

1 Answers  


What is the difference between synchronous & asynchronous task ?

0 Answers  






Who developed ios?

0 Answers  


What persistent storage used in mobile apps - ios?

0 Answers  


what is the difference between bounds and frame?

0 Answers  


What is framework in ios?

0 Answers  


What are moments and collections?

0 Answers  


Define 'strong' keyword?

0 Answers  


What do you mean by rest?

0 Answers  


Categories