Latest 0.1.1
Homepage https://github.com/kjisoo/MaskBlurView
License MIT
Platforms ios 9.0
Authors

Version
License
Platform

MaskBlurView

alt tag

It is used to apply both background blur and mask layer simultaneously.
iOS 10 requires that you use the mask view for this.
On iOS 9 and 11, use the layer’s mask.
MaskBlurView uses the appropriate method for the version.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

let path = UIBezierPath(rect: RectViewSize)
path.append(UIBezierPath(rect: RectWithoutBlur))

let maskBlurView = MaskBlurView(frame: RectViewSize)
maskBlurView.changeEffect(to: .dark)
maskBlurView.apply(with: path)
self.view.addSubview(maskBlurView)

Requirements

Installation

MaskBlurView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'MaskBlurView'

Author

kimjisoo, [email protected]

License

MaskBlurView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MaskBlurView",
    "version": "0.1.1",
    "summary": "Use Background blur with mask layer.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/kjisoo/MaskBlurView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "kjisoo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kjisoo/MaskBlurView.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "MaskBlurView/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This