UIPickerView not in correct position iOS16 beta2

In iOS16 I notice that a UIPickerView is vertically misaligned . It appears to be lower down on the View than on iOS15. I am testing code built with Xcode 13 on an iPhone 11 running iOS 16 Beta 2. Anybody else seeing this?

Post not yet marked as solved Up vote post of davemaj Down vote post of davemaj
1.1k views
  • Further to this I discovered that the "fault" seems to be only when the UIPickerView is a component of an xib file. If after the xib file is loaded I then manually change the frame height of the UIPickerView then it "fixes it". Without this workaround the height of the UIPickerView is about 1.75 times what it should be.

  • I had this problem, thank you for your fix, that helped me! I am just curios, what has been changed and why exactly is this issue happening..

Add a Comment