Post

Replies

Boosts

Views

Activity

Reply to [UIPickerView setFrame:]: invalid size {320, 216} pinned to {320, 216}
I have noticed similar error messages after upgrading to iOS 16 and Xcode 14... It seems safe to ignore - I get that message EVERY TIME there is a UIPickerView on screen, regardless of whether I set constraints or not. If I create a new project, drag a UIPickerView onto the storyboard, and do NOTHING ELSE, I get the following: "PickerExperiment[53940:3402977] -[UIPickerView setFrame:]: invalid size {393, 162} pinned to {393, 162}" I have found that if I set height constraints, the PickerView looks fine on screen and works fine. I have an app on the app store that uses A LOT of custom-height picker views, and although my console now fills up with these messages, the app looks and works as it did before. (FYI, I'm running an iPhone 13 mini with iOS 16.1.1)
Dec ’22