I'm working on the implementation of a Today Widget for IOS in Swift (v2.2).
Following what i found in this question should be pretty easy to implement the "Display more" button for my widget, as the native ones.
I don't understand why xcode complains:
Use of unresolved identifier 'NCWidgetDisplayMode'
I try even to change using .expanded
, but seems that extensionContext
have no method widgetLargestAvailableDisplayMode
and for instance i don't have even open
but i have openURL
instad.
The specific i'm taking a look is this one: https://developer.apple.com/reference/foundation/nsextensioncontext
Am i looking in the wrong place? What i miss?
Thank you