Post

Replies

Boosts

Views

Activity

Reply to Tab Bar Controller Not Using Safe Area
The attached image shows the safe area highlighted with the view "Playview". However, when I run the code in debugger, I can see that both CGRect frame1 = self.view.frame; CGRect frame = self.view.safeAreaLayoutGuide.layoutFrame; give the same frame. This is not the case with a different tab view that has subviews added programmatically as opposed to this one that has them in IB.
Topic: UI Frameworks SubTopic: UIKit
Apr ’25