# iPhone slide Text **Repository Path**: liuhui.com/iPhone-slide-Text ## Basic Information - **Project Name**: iPhone slide Text - **Description**: 利用简单动画,实现iPhone滑动解锁的效果 - **Primary Language**: Objective-C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-08-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #iPhone slide Text //1-创建需要渲染的字符串 NSString* s=@"-> 滑 动 解 锁"; //2-调用实例方法进行配置 [slideV lh_slideAnimationWithText:s withTextAlignment:NSTextAlignmentCenter withTextcolor:[UIColor colorWithRed:195/255.0 green:132/255.0 blue:34/255.0 alpha:1.0] withRendercolor:[UIColor whiteColor] withTextFont:25]; //3-开始动画 [slideV lh_slideAnimationWithDuration:2 repeatTimes:MAXFLOAT];