728x90
앱스토어에 심사를 맡기고
이틀을 기다려서
앱스토어에게 받은 리젝 사유
Guideline 2.5.1 - Performance - Software Requirements Your app uses the "prefs:root=" non-public URL scheme, which is a private entity.
...
To resolve this issue, please revise your app to provide the associated functionality using public APIs or remove the functionality using the "prefs:root" or "App-Prefs:root" URL scheme.
코드에 "prefs:root=" 를 사용한 것이 문제였다
이전 코드 :
if let url = URL(string: "prefs:root=WIFI") {
if UIApplication.shared.canOpenURL(settingsUrl) {
self.openURL(settingsUrl, result: nil)
} else {
if let wifiSettingURL = URL(string: "App-Prefs:root=WIFI") {
if UIApplication.shared.canOpenURL(wifiSettingURL) {
self.openURL(wifiSettingURL, result: nil)
}
}
}
}
현재 코드 :
guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else {
return
}
if UIApplication.shared.canOpenURL(settingsUrl) {
self.openURL(settingsUrl, result: nil)
}
심사 통과~
728x90
'iOS' 카테고리의 다른 글
iOS Swift MVVM 간단 사용법 (응용은 알아서) (0) | 2021.01.13 |
---|---|
TestFlight 시험 사용자 공개링크 사용 방법 (0) | 2019.06.29 |
TestFlight 시험 사용자 등록 방법 (0) | 2019.06.23 |