Reputation: 356
I'm working on a screen that has a UITableView below the screen(thus invisible) initially, but will pop up when user click on a button. I know it's not supposed to be seen on the screen, but just for the sake of design, is there a way to make it visible when I'm working on main.storyboard?
Please see the picture attached below. It's really hard to work on the UITableView when it's beneath the toolbar. How can I force xcode to display them so it's much easier to work on?
Upvotes: 3
Views: 1268
Reputation: 14340
You can't, but you have 3 workarounds:
Simulated Size
to freeform and increasing the values (will not affect size when running).Upvotes: 2
Reputation: 3513
The easiest way to deal with this is to:
Upvotes: 2
Reputation: 8014
Simplest thing is to manually do what your button does in the app.
In the view hierarchy on the left, select your table view and move it down to the bottom. This will bring it to the front in interface builder.
When you are done, move it back.
I do this all the time and you get used to doing it. Just watch out for accidentally moving it inside another view when you drag it down or up.
Upvotes: 0