As of macOS 10.12, all default widget apperances are light. I couldn't find a setting in Xcode 8 to make my existing widget to adopt the light apperance.
How to get the light look for widgets
Add a Comment
As of macOS 10.12, all default widget apperances are light. I couldn't find a setting in Xcode 8 to make my existing widget to adopt the light apperance.
Within your widget's Info.plist, in the
NSExtensionAttributes
dictionary, try setting NSExtensionPointVersion
to the string 2.0
. That should opt the widget in to the new look.
Within your widget's Info.plist, in the
NSExtensionAttributes
dictionary, try setting NSExtensionPointVersion
to the string 2.0
. That should opt the widget in to the new look.
😟Unfortunately, it doesn't work when i set NSExtensionPointVersion under NSExtension dictionary. Do i need to do other things in my code?
It worked.
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionPointVersion</key>
<string>2.0</string>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.widget-extension</string>
<key>NSExtensionPrincipalClass</key>
<string>TodayViewController</string>
<key>com.apple.notificationcenter.widget.description</key>
<string>WidgetName</string>
</dict>