There appears to be a serious issue in iOS 26.4 regarding text alignment.
All text strings are rendered right-aligned instead of left-aligned, even when explicitly setting the paragraph style to NSTextAlignmentLeft.
This behavior is unexpected and seems to indicate a regression in text rendering. Could you please confirm whether this is a known issue in iOS 26.4?
I am using the following code in a central function that has been working reliably for years across all my apps.
Best regards, Rolf
Code:
NSMutableParagraphStyle* paragraphLeft = [[NSMutableParagraphStyle alloc] init];
if (paragraphLeft != nil) {
paragraphLeft.alignment = NSTextAlignmentLeft;
NSDictionary *settings = @{
NSFontAttributeName : font,
NSForegroundColorAttributeName : fontclr,
NSParagraphStyleAttributeName : paragraphLeft
};
[theString drawAtPoint:CGPointMake(x, y - font.ascender) withAttributes:settings];
[paragraphLeft release];
}
As a temporary workaround, I have replaced the system font with Helvetica Neue in the affected parts of my apps. This is not an ideal solution, but it allows users to continue using the apps without the rendering problems observed on iOS 26.4.
I would still appreciate any information regarding the underlying issue with system font rendering, as I would prefer to return to the system font in the future if possible.