0
我在提交我的应用程序在App Store的过程,但我读了,如果互联网连接发生故障时,我的应用程序需要它,我必须通知用户的委托方法。 Apple页面也提到了可达性。目前,虽然,我使用UIWebView代理方法didFailLoadWithError ...UIWebView的错误VS可达
- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
{
UIAlertView *errorAlert = [[UIAlertView alloc] initWithTitle:@"Error Loading" message:[error localizedDescription] delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
[errorAlert show];
}
...它工作正常。我的问题是,我的应用程序会因为没有使用Reachability来做到这一点而被拒绝,还是我现在正在做的事情没有问题?
在此先感谢。
谢谢!很高兴知道... – gtmtg
不客气! –