2

I was trying my hand at Xcode lately and i came across the view and the container view. I was not able to figure out the difference. Can anybody explain it to me.

Wain
  • 118,658
  • 15
  • 128
  • 151
  • Read [here](http://stackoverflow.com/questions/13355022/what-is-container-view-in-ios-5-sdk) about container view – Azat Apr 30 '15 at 11:04

1 Answers1

2

UIView object claims a rectangular region of its enclosing superview (its parent in the view hierarchy) and is responsible for all drawing in that region ...

Container View defines a region within a view controller's view subgraph that can include a child view controller.

iAnurag
  • 9,286
  • 3
  • 31
  • 48
  • The answer on this link is a little more detailed: [http://stackoverflow.com/questions/24859824/uiview-vs-container-view](http://stackoverflow.com/questions/24859824/uiview-vs-container-view) – Rabs G Apr 28 '16 at 08:44