Post

Replies

Boosts

Views

Activity

Reply to How on earth do I get the actual dimensions of a presented modal view on iPad?
Holy moly, I never in a million years would've guessed that viewDidLoad would not have the correct view dimensions set up in time to layout stuff from there. Putting my code in viewWillLayoutSubviews worked. What a nightmare API.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Jul ’24
Reply to How on earth do I get the actual dimensions of a presented modal view on iPad?
FYI updated iPad to iPadOS 17.5.1, still getting the wrong view width via self.view.frame.size.width
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Jun ’24