Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error for use code add subview #2

Open
cherishloveyou opened this issue Apr 24, 2014 · 6 comments
Open

error for use code add subview #2

cherishloveyou opened this issue Apr 24, 2014 · 6 comments

Comments

@cherishloveyou
Copy link

when add subview use code the second view show error!

@nonstriater
Copy link
Owner

介意截个图看下嘛

@cherishloveyou
Copy link
Author

哥们 真心请教 前面说错了,不是用代码和storyboard的区别 而是最后一个试图 总是加载不上,自动加载的navibarview中去 看代码也好像没问题

@cherishloveyou
Copy link
Author

终于弄清楚了 因为你得NTSlidingViewController 继承与 UINavigationController 这会造成显示问题 然后subViewController 也push不出

@nonstriater
Copy link
Owner

恩,这里确实考虑不周到,NTSlidingViewController push viewcontroller的时候会有问题,我看怎么解决,欢迎提方案:)

@cherishloveyou
Copy link
Author

我觉应该把NTSlidingViewController 做成一个容器类的UIViewController 然后他的Navigaiton 就是自定义的这个导航NTSlidingView 然后所有的viewController加载到容器类 这样就正常了

@nonstriater
Copy link
Owner

恩,可行,我打算就这么做

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants