Skip to content

Instantly share code, notes, and snippets.

@MathVasc
Created February 8, 2018 20:12
Show Gist options
  • Save MathVasc/8cd48cb6a97f7453638b7fca127b5661 to your computer and use it in GitHub Desktop.
Save MathVasc/8cd48cb6a97f7453638b7fca127b5661 to your computer and use it in GitHub Desktop.
override func viewDidLoad() {
super.viewDidLoad()
// Esta linha de código diz ao widget que seu modo de exibição é do tipo expanded
self.extensionContext?.widgetLargestAvailableDisplayMode = .expanded
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment