XCode 14.3 Safe Area Issue

Dear all. I just upgraded from XCode 14.2 to 14.3 and realized my constraints for view components were all misplaced(They were fine before upgrades). I then check the safe area of the views and realized that even for iPhone 14 Pro Max, the safe area were covering 100% of the screen instead of leaving out the top and bottom bars. Please help!

Thank you all!

When I run the simulator, some safe areas were fine.

I'm having a similar problem, how can it be resolved? This is how it looks in all the backups of my project, and in all the viewcontrollers I just added, if there is no solution, I will have to re-create the whole project.

Hi @Ghooul, I solved my own problem I was using a segue link from a ViewController to a tabbarcontroller and using the perfomSegue method and this link had an identifier. I removed this link and linked the pages with code, all my problem was solved. All ViewController connected to TabbarController had NavigationController and all navigation bars were at the top as in the picture you shared and the design was broken. The problem recurred when I created the TabbarController and the NavigationControllers and linked back to the TabbarController.I removed the segue link connecting start page and TabbarController and linked it with code all problem solved.

let goBoard = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "tabbarController") as! UITabBarController

goBoard.modalPresentationStyle = .fullScreen

let navigationController = goBoard.viewControllers?.first as? UINavigationController

let secondViewController = navigationController!.viewControllers.first as? yourDestinationView

secondViewController?.data = data

self.present(goBoard, animated: true, completion: nil)
XCode 14.3 Safe Area Issue
 
 
Q