ios app store rejection - Your app uses the “prefs:root=” non-public URL scheme

前端 未结 7 948
礼貌的吻别
礼貌的吻别 2021-01-03 23:07

I recently uploaded a new version of my app to itunes connect. My app got rejected with this note

Your app uses the \"prefs:root=\" non-public URL s

7条回答
  •  日久生厌
    2021-01-03 23:45

    We also faced the same issue and resolved it by this:

    if let url = URL(string:UIApplication.openSettingsURLString)
    
        {
            UIApplication.shared.open(url, options: [:], completionHandler: nil)
        }
    

提交回复
热议问题