README.md

# ViewControllerPreviews: Using the UIViewController previewing APIs
 
This sample demonstrates how to implement view controller previews with 3D Touch.
 
## Projects
 
The Xcode workspace contains two projects - each demonstrating a different approach to implementing view controller previews.
 
  * PreviewUsingDelegate - This sample shows hows to implement the UViewControllerPreviewing delegate to preview and commit view controllers, using preferredContentSize to show previews of different sizes.
  * PreviewUsingSegue - This sample shows how to configure an action segue to preview and commit view controllers using 3D Touch.
 
## Requirements
 
### Build
 
Xcode 8.0 or later; iOS 9.0 SDK or later
 
### Runtime
 
iOS 9.0 or later
 
Copyright (C) 2015-2016 Apple Inc. All rights reserved.