Skip to content


Subversion checkout URL

You can clone with
Download ZIP
This sample demonstrates how to use the new view controller containment APIs in iOS 5 to create your own UIViewController containers. This is the code I demonstrated in my talk "iOS 5 UIViewController containment" at iPhoneDevCon 2011. Slides for this talk are online at
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
UIViewControllerContainmentSample.xcodeproj Step 1 - basic app with rotation and autosizing.
UIViewControllerContainmentSample Step 3 - smooth animations by virtue of UIView animations and blocks :-)
Something went wrong with that request. Please try again.