Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if !UIAccessibility.isReduceTransparencyEnabled && self.rollContainerView == nil {
- let blurEffect = UIBlurEffect(style: UIBlurEffect.Style.dark)
- let blurEffectView = UIVisualEffectView(effect: blurEffect)
- blurEffectView.contentView.addSubview(photosRollView)
- rollContainerView = blurEffectView
- } else {
- rollContainerView = UIView()
- rollContainerView.addSubview(photosRollView)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement