How to get the light look for widgets

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.

Answered by Frameworks Engineer in 182274022

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.
Accepted Answer

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>
@IBourne Have you tried putting it under the NSExtensionAttributes dictionary?
ps: sorry for being four years late.
How to get the light look for widgets
 
 
Q