I FOUND IT...after like 3 weeks of turning the entire project upside down and testing random things, fixing other bugs that weren't related, looking at compatibility stuff etc.
It was a old objc UIColor override from 2013, which in hindsight makes sense sort-of, but it was just weird that it had worked up until now so I didn't find it right away (the project is over 500 files, with multiple extensions of other things as well, in objc and also swift)
This is how it looked, if anyone stumbles across this weird bug and has the same issue:
@implementation UIColor (TableViewBackgroundColor)
+(UIColor*) groupTableViewBackgroundColor
{
return [TVColor TVTableViewBackgroundColor];
}
@end
Which must end up corrupt the internal color resolution on iOS 26.0+ somehow. Fix was to remove it/comment it out.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: