iOS Container View doesn't honour intrinsicContentSize
I want to use a Container View to contain a camera preview. I want the camera to centered in the middle and maintain it's proper aspect ratio. (it's pink to make it obvious where its frame is) I'm stuck on the first step of trying to get the camera preview to appear at a size that's smaller than the container. I have a UIView subclass for the Camera Controller's view, and have the code: - (CGSize)intrinsicContentSize { return CGSizeMake(320, 240); } Unfortunately this isn't honoured: From reading the docs, intrinsicContentSize looks like it's what I want. Eventually I want to use Auto Layout