ios 18 Crash

My project use manual reference counting and crash with UIAlertController when touch to Action Button:

UIAlertController alert = [[UIAlertController alertControllerWithTitle:@"fsđs" message:@"fsđs" preferredStyle:UIAlertControllerStyleAlert ]autorelease]; UIAlertAction actionOk = [UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDefault handler:nil]; [alert addAction:actionOk]; [self.window.rootViewController presentViewController:alert animated:YES completion:^{

            }];

My App is also suddenly crashing on ios18 devices, but not the ios18 simulator, after the AlertController is dismissed

WE too are seeing this problem new on iOS18. Are you releasing the UIAlertController by mistake?

e.g. calling:-

[alert release]

ios 18 Crash
 
 
Q