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]; } }
source share