Is this a new bug? Size of Safe Area at Storyboard - Landscape Mode - XCode Version 14.2 (14C18) - xcode

I want to work on a new project but please please see the photo below.
Is there a change that I am not aware of?
Thanks.

Yes, there appears to have been an Interface Builder(IB) change, i.e. bug, introduced in one of the later versions of Xcode. On a private forum, students have noted this change.
Fortunately the safe area constraints should work as intended on a device or a simulator.
For example, a view(in orange) was added with constraints to the safe area. Landscape in IB looks like this:
However, when that same view is running on a simulator in landscape mode the view looks like this, which I think is the intended layout:

Related

SwiftUI Can't Change the Master Pane Width iPad Landscape

I have a SwiftUI app in full SwiftUI lifecycle that includes a basic Master/Detail style
of data presentation. For the iPad, I need a wider left (Master) pane and don't need the
Detail pane to be as wide as the default.
Apparently I'm not phrasing my searches well enough because I have not found any
articles that discuss this. I have tried setting a frame on the NavigationView, changing
the NavigationViewStyle and a few other wild shots but have not gotten anywhere.
Ideally, I'd like to code it so the user could adjust the width, but I'd settle for
simply being able to make it wider by default.
Here's the idea:
Any guidance would be appreciated. Xcode 12.3 iOS/iPad 14.3

xcode storyboard mirroring effect

Am using Xcode 9.1 and my Xcode error while dragging objects from object panel in storyboard its mirroring automatically as shown in picture .need help in solving this !
Very odd. At first I thought it was simply rendering for a RtL locale but I don't imagine the chrome around the rendered view should be mirrored as well. Out of curiosity are you testing a Right-to-Left locale? If so, does this persist when that preference is disabled?
Otherwise I'd try cleaning the project, restarting Xcode, and removing your .xcuserdatad file, in that order.

Xcode 7.2 Interface Builder high CPU sluggish slow

Interface Builder freezes when I add a UIView with a UILabel in place of the title
I have tried disabling Autolayout, removed Storyboard reference from the project and add it back again.
Mac info:
I know I am late to the answer here, but I have been strugling with this problem for a while with Xcode 8 in El capitan having this same issue.
I take no credit for the solution, it goes to sroebert user in apple forums, you can see the original source here (you can Ctrl + f his username to get to his answer).
In my case, the problem presented only in specific nibs, not every nib nor storyboard. For my surprise, changing the Top Bar from Opaque Navigation Bar to Inferred made Xcode and Interface builder responsive once again.
It may or may not help you, but I hope it helps someone.

When I build my app my simulator looks different from my viewcontroller.xib

I was making a user interface using storyboards and when I built my app to see how it would look in the iOS simulator it didn't look like the viewcontroller in the storyboard (some of the buttons were moved around and I had to move one button way down so it was in the place i wanted it to be). Does anyone know why this is?
Yes, the reason is auto layout, it will automatically position elements on a relative basis depending on the device you're running.
You can turn autolayout off, or build for all devices at once and keep it on.
You may want to read iOS Auto Layout Demystified by Erica Sadun which goes in depth to the world of autolayout.

iPad incorrect rendering of Objects

We just set up a whole bunch of development MacBooks in our office. We all set up the computers exactly the same as far as I can tell (just installing xcode and not changing any settings). We even distributed the exact same xcode project to everyone to test whether or not everyone was set up correctly. For some reason though, my iPad simulator incorrectly renders the positions of Objects on the UIView controller.
I can make a really basic application and slap down a UIView controller with the storyboard editor in xcode 4.3.1 (newest version ATM), and add a button to it. When I run this on the simulator, it will look fine on the iPhone one, but when I try to view it in the iPad, it seems that some elements will scale to the iPad resolution fine, but others will not. The components that do not, seem to be in the place that they would be if they had been rendered on the iPhone.
The weirdest part of this problem is that I can't find anyone online who has had this same issue. I have already tried deleting and re-installing xcode and the same thing still happens. I fear I might have to re-install the OS and start from scratch.
How it looks on the iPhone simulator:
And on the iPad simulator:
I don't think that's an SDK issue, I bet that you are writing code that fits for the iPhone screen and not for the larger iPad screen.
I think that you added just the button and is Autoresizing Mask is not set properly.
I've done some measurement an it seems that:
The distance from the top of the view is in fixed (~360px);
The width is fixed (~260px);
You need to give the button a fixed distance from the bottom (as it should stay on under the plot) and remove the left fixed margin so it can be centered.
You need to take a look at the UIViewAutoresizingMask for the UIView's autoresizingMask property.
button.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;

Resources