(리젝) 앱스토어 리젝 “app-prefs:root=general” 사용

Hanulyun
2 min readFeb 5, 2020

--

앱스토어 리뷰 중

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로 간주해서 사용할 수 없다고 한다.

--

--

Hanulyun
Hanulyun

Written by Hanulyun

iOS 주니어 개발자입니다. 개발하면서 막히는 부분을 해결한 후 기록으로 남깁니다. #Swift

No responses yet