Advertisement
undeadhip

Untitled

Oct 3rd, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.40 KB | None | 0 0
  1. if !UIAccessibility.isReduceTransparencyEnabled && self.rollContainerView == nil {
  2.     let blurEffect = UIBlurEffect(style: UIBlurEffect.Style.dark)
  3.     let blurEffectView = UIVisualEffectView(effect: blurEffect)
  4.     blurEffectView.contentView.addSubview(photosRollView)
  5.     rollContainerView = blurEffectView
  6. } else {
  7.     rollContainerView = UIView()
  8.     rollContainerView.addSubview(photosRollView)
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement