UIAlertController Line separator missing in iPhone 12, iOS 15

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 (Line separator is absent)

Screen capture from iPhone 11

Here, I have annotated the line separator with a red color box.

`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];

I think the answer's here:

https://developer.apple.com/forums/thread/691284

In iOS 15 there's a new property on UITableView called fillerRowHeight (documentation), which allows you to re-enable them for plain-style table views if desired, and even control the height of the filler rows (adjust the spacing between these extra separators).

Adding to the aforementioned points the above-reported issue got replicated in the same iPhone 12 device running with IOS 14 as well. Hence it is a device-specific issue.

UIAlertController Line separator missing in iPhone 12, iOS 15
 
 
Q