IOS View Blur effect (frosted glass)

Source: Internet
Author: User

IOS View Blur effect (frosted glass)

Related information

Http://stackoverflow.com/questions/18404907/using-gpuimage-to-recreate-ios-7-glass-effect

http://stackoverflow.com/questions/17036655/ios-7-style-blur-view/17048668#17048668

I didn't use GPUIMGE. FXBlurView which works great on ios5+

Only two files

Https://github.com/nicklockwood/FXBlurView

CocoaPods:

Fxblurview (1.3.1)   UIView subclass that replicates the iOS 7 realtime background blur effect and works on IOS 5 and above.   Pod ' Fxblurview ', ' ~> 1.3.1 '   -homepage:http://github.com/nicklockwood/fxblurview   -Source:   https:// Github.com/nicklockwood/fxblurview.git   -versions:1.3.1, 1.3, 1.2, 1.1, 1.0 [master Repo]

I added it by using:

Fxblurview *blurview = [[Fxblurview alloc] Initwithframe:cgrectmake (50, 50, 150, 150)]; [Self.blurview Setdynamic:yes]; [Self.view AddSubview:self.blurView];

IOS View Blur effect (frosted glass)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.