romaonthego / REFrostedViewController

iOS 7/8 style blurred view controller that appears on top of your view controller.
MIT License
2.97k stars 494 forks source link

How to present the meueCtr without the navigationController? #139

Open liuyan3176 opened 9 years ago

liuyan3176 commented 9 years ago

I want add this function in a button'action cause my project do not have navigationController. So,how to present the meueCtr without the navigationController? Thanks a lot

MonkeyS914 commented 9 years ago

demo里面有个demonavigationcontroller,里面有加button的方法,你可以自己拿过来到你的project中

------------------ 原始邮件 ------------------ 发件人: "liuyan3176";notifications@github.com; 发送时间: 2015年6月19日(星期五) 中午11:53 收件人: "romaonthego/REFrostedViewController"REFrostedViewController@noreply.github.com;

主题: [REFrostedViewController] How to present the meueCtr without thenavigationController? (#139)

I want add this function in a button'action cause my project do not have navigationController. So,how to present the meueCtr without the navigationController? Thanks a lot

— Reply to this email directly or view it on GitHub.

liuyan3176 commented 9 years ago

直接presentMenuViewController就行了吗

MonkeyS914 commented 9 years ago

------------------ 原始邮件 ------------------ 发件人: "liuyan3176";notifications@github.com; 发送时间: 2015年6月19日(星期五) 中午1:52 收件人: "romaonthego/REFrostedViewController"REFrostedViewController@noreply.github.com; 抄送: "MonkeyS914"m201370298@hust.edu.cn; 主题: Re: [REFrostedViewController] How to present the meueCtr without thenavigationController? (#139)

直接presentMenuViewController就行了吗

— Reply to this email directly or view it on GitHub.

liuyan3176 commented 9 years ago

非常感谢,只可惜我的RootController上还有两个图层,所以无法显示出来...

MonkeyS914 commented 9 years ago

或者从菜单中选择Debug > View Debugging > Capture View Hierarchy ,可以看看他究竟在哪一层,然后再解决

------------------ 原始邮件 ------------------ 发件人: "liuyan3176";notifications@github.com; 发送时间: 2015年6月19日(星期五) 下午2:18 收件人: "romaonthego/REFrostedViewController"REFrostedViewController@noreply.github.com; 抄送: "MonkeyS914"m201370298@hust.edu.cn; 主题: Re: [REFrostedViewController] How to present the meueCtr without thenavigationController? (#139)

非常感谢,只可惜我的RootController上还有两个图层,所以无法显示出来...

— Reply to this email directly or view it on GitHub.

liuyan3176 commented 9 years ago

在视频中,选择Capture View Hierarchy后直接就卡住了....看来只能换一种方法实现侧滑了

MonkeyS914 commented 9 years ago

那估计你那个显示的控件太多,关掉其他的程序,再调一次试试,按理说present应该是在最上面

------------------ 原始邮件 ------------------ 发件人: "liuyan3176";notifications@github.com; 发送时间: 2015年6月19日(星期五) 下午2:29 收件人: "romaonthego/REFrostedViewController"REFrostedViewController@noreply.github.com; 抄送: "MonkeyS914"m201370298@hust.edu.cn; 主题: Re: [REFrostedViewController] How to present the meueCtr without thenavigationController? (#139)

在视频中,选择Capture View Hierarchy后直接就卡住了....看来只能换一种方法实现侧滑了

— Reply to this email directly or view it on GitHub.