GQFlowController icon indicating copy to clipboard operation
GQFlowController copied to clipboard

必须用self.window.rootViewController= self.flowController吗?

Open hepking opened this issue 10 years ago • 7 comments

有些时候可能只有几个ViewController来用,如何处理呢?请教一下

hepking avatar Oct 05 '15 10:10 hepking

有木有QQ,微信什么的聊下啊?哈哈

hepking avatar Oct 05 '15 11:10 hepking

如果说你的应用从iOS 7开始支持 可以使用UINavigationControllerDelegate的

  • (id<UIViewControllerAnimatedTransitioning>)navigationController:(UINavigationController *)navigationController animationControllerForOperation:(UINavigationControllerOperation)operation fromViewController:(UIViewController *)fromVC toViewController:(UIViewController *)toVC

来实现自定义的转场动画

gonefish avatar Oct 05 '15 14:10 gonefish

https://github.com/ColinEberhardt/VCTransitionsLibrary 这里有不错的例子及一些效果的实现

gonefish avatar Oct 05 '15 14:10 gonefish

在application中,UINavigationControllerDelegate与GQFlowController冲突,这种情况如何解决?

hepking avatar Oct 06 '15 03:10 hepking

GQFlowController是之前替代UINavigationController的实现 当时还没有可自定的转场动画 所以这个问题还没怎么碰到过

gonefish avatar Oct 06 '15 07:10 gonefish

看来后来没有维护了,不过GQFlowController有UINavigationController无法胜任的工作,希望能再维护起来

hepking avatar Oct 06 '15 08:10 hepking

嗯 如果再更新肯定使用UIViewControllerAnimatedTransitioning的实现 不过最近是维护 https://github.com/gonefish/GQDataController 估计一下没时间更新...

gonefish avatar Oct 08 '15 01:10 gonefish