Updating UIViewController calls that got deprecated in iOS 6