How to scroll UITableView in Storyboard editor of

2019-01-22 07:22发布

Storyboard had great feature to design tables of static cells. Until XCode 5 is was possible to compose long list of cells and scroll the table to edit them.

With XCode 5 the scrolling simple stopped working - instead of scrolling the table, now it scrolls entire the storyboard.

Did anyone solved this problem? I'm completely stuck with my long tables of static cells...

3条回答
时光不老,我们不散
2楼-- · 2019-01-22 07:35

Here are the steps that I have found to work:

  1. Select the TableViewController in the Document Outline (view to the left of the Storyboard).
  2. Click on the Status Bar (or somewhere along the top) of the TableViewController so that the entire TableViewController is selected in the Storyboard View.
  3. Use the scroll wheel on your mouse or the "2-finger scroll" on the trackpad.

The scroll bars on the side of the Storyboard View only seem to move the storyboard around.

It also only seems to work if the mouse pointer is hovering over the TableViewController.

Using Xcode 5.0.2 (5A3005)

查看更多
祖国的老花朵
3楼-- · 2019-01-22 07:42

I just tried it in my XCode 5. After selecting one of the other not covered table cells I am able to scroll down to the other hidden table cells. Does this work for you too?

Similar post, maybe this helps you too:

Can't scroll to the bottom of a long Static TableViewController in XCode 5 Interface Builder to edit the cells below the fold

查看更多
放荡不羁爱自由
4楼-- · 2019-01-22 07:52

In the storyboard view uncheck Under Top Bars with the problematic scroll view selected.

This allowed me to scroll all the way down.

This only occurred in one of my views, so still not sure what it happens.

查看更多
登录 后发表回答