Is it possible to move the lines (representing a segue) connecting the view controllers to make my storyboard more aesthetically pleasing?
I tried a bunch of weird click combinations (or anything that to me would be an obvious way to move the line), to no avail. Any tricks I missed?
The identifier is the unique string you provided for the segue in Interface Builder, and the two other parameters represent the two controller objects in the transition. The presenting view controller’s prepareForSegue:sender: method is called.
Unwind segues let you dismiss view controllers that have been presented. You create unwind segues in Interface Builder by linking a button or other suitable object to the Exit object of the current view controller.
To create a segue between view controllers in the same storyboard file, Control-click an appropriate element in the first view controller and drag to the target view controller. The starting point of a segue must be a view or object with a defined action, such as a control, bar button item, or gesture recognizer.
The first step, is to create the custom segue in the Interface Builder, so click on the Main.storyboard file in the Project Navigator to open it. Once the interface appears on your screen, open the Document Outline pane (if it’s collapsed).
To my knowledge, the segues are positioned automatically and cannot be moved.
To get aesthetically pleasing storyboards you can only reposition the view controllers which will also change the position of the segues.
If you need the aesthetics because you want to communicate the app structure to third parties, maybe you want to look at different and more suitable tools instead.
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