Created
July 24, 2015 10:03
-
-
Save manchan/3fd845b139646efc8a7b to your computer and use it in GitHub Desktop.
BlurEfeect iOS8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.navBgEffectView = UIVisualEffectView(effect: UIBlurEffect(style: UIBlurEffectStyle.ExtraLight)) | |
self.navBgEffectView!.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height / 2) | |
// effectView.layer.position = CGPointMake(mySegcon.bounds.midX, -(effectView.frame.midY + 20) ) | |
self.navBgEffectView!.alpha = 0.0 | |
self.navBgEffectView!.layer.masksToBounds = true | |
self.navBgImgView?.addSubview(self.navBgEffectView!) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment