I am building an iOS Today widget, and while testing for iOS 10 I noticed that all widgets are now being given the same height (previous versions allowed the dev to set the
Simply do the following:
let height = extensionContext?.widgetMaximumSize(for: .compact).height
you can use both: .compact and .expanded types.
.compact
.expanded