ios app extensions - raywenderlich.com · introduction to cloudkit part 6: working wi... nov 7,...
TRANSCRIPT
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!