2011-11-19 66 views
2

我讀過它與發佈子視圖(如UIAlertView)或文本響應者之類的內容有關。這裏是我的代碼,我的UIAlertView被稱爲...
如果任何人都可以幫助,這將不勝感激。wait_fences:未能收到回覆:10004003仍然出現錯誤

- (void)viewDidAppear:(BOOL)animated { 
    reachability = [Reachability reachabilityForInternetConnection]; 
    NetworkStatus internetStatus = [reachability currentReachabilityStatus]; 

    if (internetStatus == NotReachable) { 
     UIAlertView *errorView; 

     errorView = [[UIAlertView alloc] initWithTitle: NSLocalizedString(@"Network error", @"Network error") message: NSLocalizedString(@"No internet connection found, this application requires an internet connection to gather the data required.", @"Network error") delegate: self cancelButtonTitle: NSLocalizedString(@"Close", @"Network error") otherButtonTitles: nil]; 

     [errorView show]; 
     [errorView autorelease]; 
    } 
} 
+0

我幾個月來幾乎每個應用程序的幾次運行中都會收到這些'wait_fences'消息。不知道爲什麼或如何解決它,但它可以被忽略。 – chown

+0

蘋果不會拒絕基於這個? – Teddy13

+0

不是。不僅僅是因爲這個消息。我上週剛剛獲得了6個應用程序批准,每次都在控制檯中顯示此消息。 – chown

回答

0

在頂部添加[super viewDidAppear:animated]。

也似乎警報代表可以設置爲零,因爲用戶只能選擇關閉警報。

相關問題