mtonio91/AMLoginViewController
关于
LoginViewController with Video and Blur
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文AMLoginViewController
I originally created this controller for a school project in order to deliver the coolest app possible. I hope this will be useful for other people.

NB: this is login view, so it's not supposed to be used a long time, the big cpu use because of the blur effect processing shouldn't have a this important impact on the mobile's battery life.
##Known issues
• when blur effect is activated, the video won't work on the simulator. You have to compile it on a device. Or just disable the blur effect to make it work on the simulator.
• arm64 devices seems not compile the demo project because of GPUImage which doesn't support it yet.
You can disable blur effect in order to improve CPU use (from 25% to ~0%)
##Installation
It uses :
- GPUImage Framework
- AVFundation Framework
Be sure to get those notifications in your appDelegate, in order to resume the video on app resume
- (void)applicationWillResignActive:(UIApplication *)application
{
[[NSNotificationCenter defaultCenter] postNotificationName:@"PauseBgVideo"object:self];
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
[[NSNotificationCenter defaultCenter] postNotificationName:@"ResumeBgVideo"object:self];
}
Antoine
探索相关项目
加载中…