简体   繁体   English

为什么当我使用模式搜索将表视图单元格连接到另一个视图控制器时,为什么要更改视图控制器中的内容?

[英]why when i connect a table view cell to another view controller with modal segue i change things in the view controller?

Sorry, I didn't know how to write the title right, so I will attack screenshots: 抱歉,我不知道如何正确写标题,因此我将攻击屏幕截图:

this is before i create the modal segue: 这是在我创建模态segue之前:

在此处输入图片说明

this is after i control drag from the cell to this view controller: (notice that the top bar with the save and cancel button disappeared) 这是在我控制从单元格拖动到此视图控制器后的操作:(请注意,带有“保存并取消”按钮的顶部栏消失了)

在此处输入图片说明

在“界面生成器”中,选择“视图控制器”,将顶部栏下的“推断”更改为“不透明导航栏”。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从表视图单元格到另一个视图控制器的Segue转换仅在任意时间起作用-为什么? - Segue transition from table view cell to another view controller works only some arbitrary times - why? 如何根据表视图单元格的详细文本标签,将segue设置为与表视图控制器不同的视图控制器? - How can I set a segue to a different view controller from a table view controller, based on the detail text label of the table view cell? iOS-设置-模态选择到表视图控制器 - iOS - Settings - Modal Segue to Table view controller 如何通过单击视图来切换到另一个视图控制器? - How can I segue to another view controller by clicking a view? 如何将信息从一个视图控制器中的表视图单元传递到另一视图控制器? - How do I pass information from a table view cell in one view controller to another view controller? 选项卡和导航视图控制器中的Table单元格的Segue - Segue of Table cell in a tab and navtigation view controller 模态Segue View Controller的保存 - Modal Segue View Controller Preservation segue表视图以查看控制器和表视图 - segue table view to view controller and table view 表视图单元格到另一个视图控制器 - Table view cell to another view controller 当尝试从表视图转到视图控制器时,我收到此错误:Unexpectedly found nil while unwrapping - When trying to segue to a view controller from a table view i get this error: Unexpectedly found nil while unwrapping
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM