再次寻求帮助...
我的应用程序目前有 2 个部分需要互联网连接,1 个是通过 Flickr 的照片库,另一个是 Twitter Feed,我想知道这是否是 UIAlertView 的正确代码......我可以让它工作一个按钮,仅此而已!
{
-(void)didTap_roundedRectButton1:(id)sender forEvent:(UIEvent *)event {
UIAlertView *alertView = [[UIAlertView alloc] init];
alertView.title = @"You are not connected to the Internet!";
alertView.message = @"Please check your connection and try again...";
[alertView addButtonWithTitle:@"Ok"];
[alertView show];
[alertView release];
}