Popover Segue无法正常工作 [英] Popover segue not working

查看:70
本文介绍了Popover Segue无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用故事板开发一个iPad应用程序.在我的应用程序中,我有2个视图控制器(第一个视图控制器和模态视图控制器).在我的第一个视图控制器中,我有一个表格视图,其中的单元格包含一个按钮.如果单击每个单元格中的按钮,则需要转到模式视图控制器.我通过使用segue连接了模态视图控制器和按钮.当样式为模态时,Segue可以正常工作,但我需要样式Popover.当我尝试更改segue样式弹出框时,会发生情节提要错误,并且编译失败.我该如何解决这个问题.

I am developing one iPad application using storyboard. In my application i have 2 view controllers(First view controller and Modal view controller). In my first view controller I have one table view with cell containing one button. If I click the button in each cell I need to go to modal view controller. I connected the modal view controller and button by using a segue. Segue is working perfectly when style is modal but I need style Popover. When I am trying to change the segue style popover the storyboard error occurs and compilation failed comes. How can I solve this issue.

推荐答案

按照图片中的步骤进行操作.希望我能帮助您.

Follow the steps in the image. hope I will help you.

这篇关于Popover Segue无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆