AdaptivePhotos: Using UIKit Traits and Size Classes
Version 4.1, 2016-09-13
Updated to Swift 3
(Full Revision History)
Xcode 8, iOS 9 SDK
This sample demonstrates how to use UIKit APIs to make your app work great on all devices and any orientation. You'll see how to use size classes, traits, and view controller additions to create an app that displays properly at any size (including iPhone 6 Plus) and and configuration (including iPad Multitasking).