使用另一个项目的故事板

时间:2022-04-11 15:04:01

I am working on an Iphone Application, and I want to get a storyboard from another project.

我正在研究Iphone应用程序,我想从另一个项目中获取故事板。

I added the storyboard and all the viewcontrollers and images to my project (I copy Paste them from the other project)

我将故事板和所有viewcontrollers和图像添加到我的项目中(我从其他项目中复制粘贴它们)

Then I set it as the main storyboard in the info,plist file.

然后我将其设置为info,plist文件中的主要故事板。

I get no compile errors or warnings however if I try to run the project I get a signal SIGABRT error.

我没有编译错误或警告但是如果我尝试运行项目,我会收到SIGABRT信号错误。

(If i return to my original storyboard the app runs normally)

(如果我回到我原来的故事板,该应用程序正常运行)

Any idea what might be causing the problem?

知道可能导致问题的原因是什么?

Thanks a lot for any help

非常感谢您的帮助

2 个解决方案

#1


1  

Have you wired all storyboard object to proper ViewController ? I often forget wiring delegate =)

您是否已将所有storyboard对象连接到正确的ViewController?我经常忘记布线委托=)

使用另一个项目的故事板

#2


0  

In the summary tab make sure that the main storyboard is selected under "project name"/summery/ iPhone/iPod deployment info

在摘要选项卡中,确保在“项目名称”/ summery / iPhone / iPod部署信息下选择主故事板

#1


1  

Have you wired all storyboard object to proper ViewController ? I often forget wiring delegate =)

您是否已将所有storyboard对象连接到正确的ViewController?我经常忘记布线委托=)

使用另一个项目的故事板

#2


0  

In the summary tab make sure that the main storyboard is selected under "project name"/summery/ iPhone/iPod deployment info

在摘要选项卡中,确保在“项目名称”/ summery / iPhone / iPod部署信息下选择主故事板