iPhone Question:

Whats the difference between frame and bounds?

iPhone Interview Question
iPhone Interview Question

Answer:

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).


Previous QuestionNext Question
Explain about the applications that can be used with iphone?Whats a struct?