I am trying to work with storyboards in iOS, and it's driving me nuts because I can't drag storyboard elements around in the UI to clean up the visual structure of the relationships. Should I be able to move them around? If so, what might I be doing wrong?
I should note I am accessing the Mac environment via RealVNC on Windows, which might have something to do with it, and I have little choice in the matter, unfortunately. But I have no problems moving UI elements around within a view. It's just the top-level storyboard views that I can't rearrange.
EDIT: I've dropped the storyboard tag, since this seems to affect all top-level views and windows in my Xcode editor, not just those belonging to storyboards.
You can use the object navigator / tree-view on the left to select your items, then you can move objects around using the x/y/w/h properties on the size inspector. Another solution could be to set the items you don't want to drag around to hidden while you're dragging other elements around.
Storyboard Advantages over SwiftUIIt is easier to use Storyboard as a beginner . Storyboard consist of Xib and custom View which can be reusable in the projects. It is easier to build an app as there is only drag and drop of the elements of the storyboard.
In Xcode 9.2, simply go to your Storyboard and go to the bottom, Click View As and choose a device you like.
There is no direct way of migrating from storyboard to swift UI. This compels a developer to continue the use of the storyboard for existing apps and in lower versions. Since, it is very new so there is less community support which is not the case for storyboard.
I ran into this problem using a Synergy client on a mac. I assume it has something to do with the mouse lag and how the storyboard registers click and drag. My solution for now is to use a mouse connected directly to the mac, but it would be nice if the Apple would fix this issue in future xcode releases.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With