I have this problem:
我有这样的问题:
I want to add a button to the bottom of a static table view controller. This all inside a Navigation Controller. I know that static table view can be used inside Navigation Controller only with a TableViewController. Ok no problem, I create a ViewController with a Container view connected to TableViewController. That's it. But now when i add the button outside container view, the button is shown in every controller. Is there a way to show only in the first view controller, without removing programmatically?
我想在静态表视图控制器的底部添加一个按钮。这些都在导航控制器中。我知道静态表视图只能在导航控制器中使用TableViewController。没问题,我创建了一个视图控制器它的容器视图连接到TableViewController。就是这样。但是现在当我在容器视图外添加按钮时,按钮会显示在每个控制器中。是否有一种方法只在第一个视图控制器中显示,而不以编程方式删除?