This repository includes rejection cases by the App Store.
UIApplication.shared.open(URL(string:"App-Prefs:root=General")!, options: [:], completionHandler: nil)
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General"]];
Otherwise, as mentioned this answer you might be get rejected.