[英]Real time blur effect for Navigation Bar iOS 7
How to achieve the real time blurring effect for the navigation bar in iOS 7. 如何在iOS 7中实现导航栏的实时模糊效果。
If i scroll the contents should get blurred behind the navigation bar. 如果我滚动,导航栏后面的内容应该变得模糊。 Please help me with some code for iOS 7.
请帮我提供一些适用于iOS 7的代码。
Thanks! 谢谢!
I want to achieve like this-- 我想这样实现
https://drive.google.com/file/d/0B0qSYN2gw-4-MGhneFF2VnlBVk0/view?usp=sharing https://drive.google.com/file/d/0B0qSYN2gw-4-MGhneFF2VnlBVk0/view?usp=sharing
在iOS 7中,通过将半透明属性设置为YES可以轻松实现navigationBar中的效果:
self.navigationController.navigationBar.translucent = YES;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.