The line separator is missing in the alert controller. I am encountering this issue only in the iPhone 12 series devices running iOS 15, in the other versions it works fine. Please share your inputs.
Screen capture from iPhone 12 Device IOS 15 (Line separator is absent)
But available in iPhone 12 IOS 15 Simulator
UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"My title" message:@"My subtitle" preferredStyle:UIAlertControllerStyleAlert]; UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) {}]; [alert addAction:defaultAction]; [m_window.rootViewController presentViewController:alert animated:YES completion:nil];