앱스토어 리뷰 중
Guideline 2.5.1 - Performance - Software RequirementsYour app uses the "prefs:root=" non-public URL scheme, which is a private entity. The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
위 사유로 리젝 발생했다.
해결방법은
// 리젝 코드
func goBleSetting() { guard let url = URL(string: "App-Prefs:root=General")
else { return } let app = UIApplication.shared app.open(url)}// 변경 코드
func goBleSetting() { guard let url = URL(string: UIApplication.openSettingsURLString)
else { return } let app = UIApplication.shared app.open(url)}
“App-Prefs:root=General”의 경우 비공개 API로 간주해서 사용할 수 없다고 한다.