I have a main project with a storyboard and then I have a subproject that doesn't have a storyboard. I want to have a button on my storyboard of the main project that when tapped takes you into the main view controller of the subproject. Could anyone provide some guidance with this?

有帮助吗?

解决方案

You should be able to import any file created in the subproject in your main project using #import <SubProjectName/file.h>

If that doesn´t work means that you have not setted it up correclty. Make sure is marked as static library in settings. Here is a good explanation: http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top