0

Since I have updated to XCode 9.3 all my popover views default to a width of 320. If I go back to XCode 9.2 everything is fine and the same popover views are shown with the regular width of 1024. This happens in my main.storyboard at every ViewController that is used as popover. If I try to overwrite the width, it jumps back to 320 again. The other views are showing normal width at XCode 9.3. It feels like the new XCode version reduces all popover views to an iPhone default width?

Does anyone has any idea, how to fix this? My app is for iPad only app (not universal).

TheTiger
  • 13,264
  • 3
  • 57
  • 82
Jan
  • 47
  • 1
  • 9

3 Answers3

0

I don't see the problem here. Here's a demo in Xcode 9.3: https://github.com/bvankuik/TestPopover

enter image description here

Bart van Kuik
  • 4,704
  • 1
  • 33
  • 57
0

I have a similar problem in an iPad only app with a storyboard containing several UITableViewController based scenes with varying widths and heights. Before 9.3, these were created with widths matching the storyboard. Now they all arrive in viewDidAppear with size 375x667 if orientation is landscape and 320x480 if portrait.

a4o
  • 81
  • 4
0

The solution was as follows, I had not set the content size box:

enter image description here

Jan
  • 47
  • 1
  • 9