How to add observer for iOS NSUserDefaults in ionic


#1

How to add a Observer for ‘NSUserDefaultsDidChangeNotification’ in ionic.?

I want to get a callback when ‘NSUserDefaultsDidChangeNotification’ changes. In iOS native it can be done by just adding a observer. Need something similar in this too.