I know I can synchronize NSUserDefaults when my App enter foreground. But it can’t meet my requirements, I want once I change setting in the Setting Bundle, my App’s volume can change at the same time, even if it’s run in background.
I know I can synchronize NSUserDefaults when my App enter foreground. But it can’t
Share
I think, You can’t change volume when app run in background(even manually)!!.
However You can detect the volume settings changes when apps wake from background using
NSUserDefaultsDidChangeNotificationExample: