Post

Replies

Boosts

Views

Activity

iOS13 - Problem with navigationBar title color after update
My app was working fine but after i updated my XCODE and mac book to the latest update, then everything went dark. I had my title bar configured white from the main storyboard and now it's not recognizing the configuration. Then I tried hardcoding it into my viewcontroller and ios simulator and iphone is not honoring the configurations in storyboard or viewcontroller.here's the code in my viewcontrollerif (@available(iOS 13, *)){ NSDictionary<NSAttributedStringKey,id> *attrib = [NSDictionary dictionaryWithObjectsAndKeys: UIColor.whiteColor, NSForegroundColorAttributeName, nil]; _myNavBar.titleTextAttributes = attrib; } self.navbar.title = [NSString stringWithFormat:@"%@ %ld KJV", _getBookTitle, _getBookChapter.longValue];
3
0
475
Apr ’20