CPNavigationAlert image size very small with long title variant

I am using CPNavigationAlert and am getting a specific name for the title, so I do not have more than one variant. Sometimes, the variant title is longer, which for some reason makes the image very small.

I have tried to make sure to keep displayScale in mind:

let maximumImageSize = CPListItem.maximumImageSize
let displayScale = self.interfaceController?.carTraitCollection.displayScale ?? 2
let imageSize = CGSizeMake(maximumImageSize.width * displayScale, maximumImageSize.width * displayScale)
let image = CarPlayMapUtility().getIconAlertImage(item: item, frame: imageSize)

If the titleVariants is shorter, the image is displayed corrected. If it is longer, the image might be extremely small or not shown at all. Is this expected?

Hi, this is a known issue we are tracking. If you provide an image in your navigation alert, it should always display at the expected size. There is an issue that sometimes causes it to display too small, or in some cases, not at all.

CPNavigationAlert image size very small with long title variant
 
 
Q