Hello,I encounter the following problem with NSUserDefaults and app groups:I added a today extension to my main app and created an app group so that I can share data with the extension. I moved my user defaults to the app container by usingNSUserDefaults(suiteName: SharedConstants.appGroup)(where SharedConstants.appGroup is a constant from a dynamic framework). I instantiate the user defaults in the extension the same way. Note that I successfully created the app group in the developer portal and it displays as correct in both targets. I successfully share CoreData with the extension.My main app registers default values for all settings I store in the NSUserDefaults by reading a plist file from the app's main bundle like this:NSBundle.mainBundle().URLForResource(DefaultSettings, withExtension: plist)This worked with standardUserDefaults as expected and I did not change this due to the fact that the extension does not need to register default values (though there are fallbacks for the rare ca
2
0
3.2k