0

I have a current project set up like the picture below, and I am trying to insert a scrollView inside one of the navigation controllers which is inside a tab bar controller. However, when I click on the TabBar icon associated with the "moreTableViewController," I get a blank screen. I do have a MoreTableViewController.xib set up with a bunch of labels to see whether I can get it to show up or get the scrollView to work. But nothing is being displayed.

Not sure how to implement the scrollView properly. Any tips will be appreciated.

Thanks.

ScreenShot

4

1 回答 1

2

确保您已在检查器中指定了 nib 名称,如图所示:

在此处输入图像描述

在 MoreTableViewController.xib 中,将 a 添加UIScrollView到视图层次结构中,并将其连接到视图控制器上的适当 IBOutlet,如下所示:

在此处输入图像描述

于 2013-08-11T06:17:20.073 回答