You can use UIBlurEffect with next properties:
leftViewBackgroundBlurEffect: UIBlurEffect rightViewBackgroundBlurEffect: UIBlurEffect rootViewCoverBlurEffectForLeftView: UIBlurEffect rootViewCoverBlurEffectForRightView: UIBlurEffect leftViewCoverBlurEffect: UIBlurEffect rightViewCoverBlurEffect: UIBlurEffect
For example:
sideMenuController.leftViewBackgroundBlurEffect = UIBlurEffect(style: .regular)
If you want to change color of blurred view, use:
leftViewBackgroundColor: UIColor rightViewBackgroundColor: UIColor rootViewCoverColorForLeftView: UIColor rootViewCoverColorForRightView: UIColor leftViewCoverColor: UIColor rightViewCoverColor: UIColor
sideMenuController.leftViewBackgroundColor = UIColor(red: 0.0, green: 0.5, blue: 1.0, alpha: 0.1)
If you want to change intensity of blurred view, use:
leftViewBackgroundAlpha: CGFloat rightViewBackgroundAlpha: CGFloat rootViewCoverAlphaForLeftView: CGFloat rootViewCoverAlphaForRightView: CGFloat CGFloatleftViewCoverAlpha: CGFloat rightViewCoverAlpha: CGFloat
sideMenuController.leftViewBackgroundAlpha = 0.9
There was an error while loading. Please reload this page.