Questions

  1. Where can users find Today Extensions?

a) By Swiping right on the lock screen.
b) By Swiping right on the lock screen or Notification Center, and on the leftmost screen on the Springboard.
c) By Swiping right on the lock screen or Notification Center, on the leftmost screen on the Springboard, and 3D-touching an app.

  1. At what height are widgets displayed by default?

a) It depends on the screen width and user settings.
b) 100 points.
c) It depends on the size of your contents.

  1. How can you allow a user to expand your widget's height?

a) By setting the preferred content size.
b) By implementing widgetActiveDisplayModeDidChange(_:withMaximumSize:).
c) By setting the largest available display mode on the extension context to expanded.

  1. What is the best place to update your widget contents?

a) In viewDidLoad().
b) In widgetPerformUpdate(completionHandler:).
c) In viewDidAppear().

  1. How does iOS know the best moment to reload a widget's contents?

a) It reloads when the widget is about to appear.
b) It monitors network requests.
c) With the completion handler that is passed to widgetPerformUpdate(completionHandler:).