使用Apple或Facebook或google登录时,由于以下问题,该应用在应用商店中被拒绝。
1)应用程序显示未连接到互联网,而代码已到位,可以检查互联网,如下所示:
let status = Reach().connectionStatus()
switch status {
case .unknown, .offline:
print("Not connected")
self.navigationController?.view.makeToast("Please connect the internet", duration: 3.0, position: .bottom)
case .online(.wwan):
print("Connected via WWAN")
case .online(.wiFi):
print("Connected via WiFi")
}
2)另外,google或facebook登录显示白屏。