WWSideslipViewController模仿 QQ 的侧滑效果
WWSideslipViewController 模仿 QQ 的侧滑效果。支持左边栏侧滑、右边栏侧滑、滑动设置等功能。
非常简便的方法初始化
LeftViewController * left = [[LeftViewController alloc]init]; MainViewController * main = [[MainViewController alloc]init]; RightViewController * right = [[RightViewController alloc]init]; WWSideslipViewController * slide = [[WWSideslipViewController alloc]initWithLeftView:left andMainView:main andRightView:right andBackgroundImage:[UIImage imageNamed:@"bg.png"]]; //滑动速度系数 [slide setSpeedf:0.5]; //点击视图是是否恢复位置 slide.sideslipTapGes.enabled = YES;
评论