项目
在 GitHub 查看
CodaFi/CFIFrostedOverlayView
关于
[Broken] A view that renders its superview with a gaussian blur.
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文CFIFrostedOverlayView
A view that renders its superview with a gaussian blur like iOS 7's Control Center

Caveats
Because of the way that this control renders its superview, you must provide it an offset if you choose to not have the control take up the entirety of its superview, and guarantee that it is not onscreen when its superview is being rendered. For example, the demo project shows how to offset the control by 20 pixels from the top of the screen.
self.controlCenter = //...
self.controlCenter.offset = 20.f;
[self.view addSubview:self.controlCenter];
self.controlCenter.viewToBlur = self.view;
The inset of the control's frame and its contentOffset must match exactly, else the rendered view will be mis-aligned with the actual view.
探索相关项目
加载中…