【发布时间】:2012-06-18 14:34:42
【问题描述】:
我正在将我的应用程序提交到 App Store,但我读到我必须在我的应用程序需要互联网连接时通知用户。苹果页面也提到了可达性。不过,目前我正在使用 UIWebView 委托方法 didFailLoadWithError...
- (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 来执行此操作而被拒绝,还是可以执行我目前正在执行的操作?
提前致谢。
【问题讨论】:
标签: iphone objective-c ios uiwebview reachability