iOS App Extensions - raywenderlich.com · Introduction to CloudKit Part 6: Working wi... Nov 7,...
7
iOS App Extensions Today Extensions: OpenURL
Transcript of iOS App Extensions - raywenderlich.com · Introduction to CloudKit Part 6: Working wi... Nov 7,...
iOS App Extensions
Today Extensions: OpenURL
Lightweight Interface
OpenURL
// Application context UIApplication.sharedApplication().openURL(url)
// Extension context extensionContext?.openURL(url, completionHandler: ((Bool) -> Void)?)
extensionContext
Optional property on UIViewController Can use to test for application vs extension
Demo
URL scheme for app Widget – add button, action openURL!
Challenge Time!