Latest 0.0.1
Homepage https://github.com/LeiQiao/CPTaskScreenBlur
License GPL
Platforms ios 7.0, requires ARC
Dependencies FXBlurView
Authors

实现程序切换到后台时页面变模糊的功能

Supported iOS & SDK Versions

  • iOS 7+
  • XCode 6.4

ARC Compatibility

支持ARC

Installation

pod 'CPTaskScreenBlur', '~0.0.1'

Usage

+(void) enableAutoBlur:(BOOL)autoBlur inWindow:(UIWindow*)window;
自动模糊,在需要的时候(比如登录登出后)调用这个方法。

+(void) showBlurInView:(UIView*)view;
+(void) hideBlur;
手动设置显示关闭模糊效果。

+(void) setBlurRadius:(int)blurRadius;
设置模糊程度。


+(void) setBlurAnimation:(BOOL)blurAnimationEnabled;
开启/关闭模糊动画。

Release Notes

Version 0.0.1

  • 添加模糊指定视图功能
  • 设置模糊的程度
  • 设置模糊的动画
  • 添加自动模糊隐藏功能

Dependencies

  • FXBlurView 一个可以模糊任意窗口的功能

License

GNU General Public License

Latest podspec

{
    "name": "CPTaskScreenBlur",
    "version": "0.0.1",
    "summary": "u540eu53f0u6a21u7cca",
    "description": "u4f7fu7a0bu5e8fu7f6eu4e8eu540eu53f0u65f6u53d8u6a21u7ccau7684u529fu80fd",
    "homepage": "https://github.com/LeiQiao/CPTaskScreenBlur",
    "license": {
        "type": "GPL",
        "file": "LICENSE"
    },
    "authors": {
        "LeiQiao": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/LeiQiao/CPTaskScreenBlur.git",
        "tag": "0.0.1",
        "submodules": true
    },
    "source_files": "CPTaskScreenBlur/CPTaskScreenBlur.{h,m}",
    "public_header_files": "CPTaskScreenBlur/CPTaskScreenBlur.h",
    "requires_arc": true,
    "dependencies": {
        "FXBlurView": [
            "~> 1.6.4"
        ]
    }
}

Pin It on Pinterest

Share This