Wait_fences: Failed to get response: Error 10004003

I read that it has to do with releasing subheadings such as UIAlertView or whatever text editors like. Here is my code where my UIAlertView is called ...
If anyone can help, this will be appreciated.

 - (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]; } } 
+2
source share
1 answer

Add [super viewDidAppear: animated] at the top.

It also seems that the warning delegate can be set to nil, as the user has the option to reject the warning.

0
source

Source: https://habr.com/ru/post/1381613/


All Articles