Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netyouli/whc_gestureunlockscreendemo
屏幕解锁(android类型手势拖拽解锁和iphone数字键盘解锁两种类型)采用动态渐变的色彩绘制整个UI,对于想学习动态和渐变绘图的开发者很有帮助。
https://github.com/netyouli/whc_gestureunlockscreendemo
Last synced: about 1 month ago
JSON representation
屏幕解锁(android类型手势拖拽解锁和iphone数字键盘解锁两种类型)采用动态渐变的色彩绘制整个UI,对于想学习动态和渐变绘图的开发者很有帮助。
- Host: GitHub
- URL: https://github.com/netyouli/whc_gestureunlockscreendemo
- Owner: netyouli
- Created: 2015-06-24T03:00:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-03T09:45:21.000Z (over 8 years ago)
- Last Synced: 2023-03-01T16:55:56.580Z (almost 2 years ago)
- Language: Objective-C
- Size: 31.5 MB
- Stars: 51
- Watchers: 4
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WHC_GestureUnlockScreenDemo
###咨询qq:712641411
###作者:吴海超###封装最好的手势和数字解锁开源项目
###屏幕解锁(android类型手势拖拽解锁和iphone数字键盘解锁两种类型)采用动态渐变的色彩绘制整个UI,对于想学习动态和渐变绘图的开发者很有帮助。
##运行效果
![](https://github.com/netyouli/WHC_GestureUnlockScreenDemo/blob/master/WHC_GestureUnlockScreenDemo/gif/whc.gif)
##接口使用实例
####Use Example
```objective-c
- (IBAction)clickBtn:(UIButton *)sender{
switch (sender.tag) {
case 0://设置数字解锁
[WHC_GestureUnlockScreenVC setUnlockScreenWithType:ClickNumberType];
break;
case 1://设置手势路径解锁
[WHC_GestureUnlockScreenVC setUnlockScreenWithType:GestureDragType];
break;
case 2://修改手势密码
if(![WHC_GestureUnlockScreenVC modifyUnlockPasswrodWithVC:self]){
[self alert:@"先设置手势密码再修改"];
}
break;
case 3://删除手势密码锁
if(![WHC_GestureUnlockScreenVC removeGesturePasswordWithVC:self]){
[self alert:@"先设置手势密码再删除"];
}
break;
default:
break;
}}
```