gavin-tang / IMYAppGrayStyle

App一键全局变灰

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IMYAppGrayStyle

App一键全局变灰

pod 'IMYAppGrayStyle'

// 开启全局变灰
[IMYAppGrayStyle open];

// 关闭全局变灰
[IMYAppGrayStyle close];


// 目标view 覆盖灰色模式
[IMYAppGrayStyle addToView:targetView];

// 目标view 移除灰色模式
[IMYAppGrayStyle removeFromView:targetView];

About

App一键全局变灰

License:MIT License


Languages

Language:Objective-C 93.4%Language:Ruby 6.6%