LYSPopController
当前支持最高版本:0.0.3
LYSPopController 主要是一个用户页面,在事件响应时弹出窗口,提示用户信息
-> LYSPopController (版本号)
LYSPopController,I hope everyone will give me some advice during the process of use. I want to go further."
s.description.
pod 'LYSDatePicker', '~> 版本号'
- Homepage: https://github.com/LIYANGSHUAI/LYSPopController
- Source: https://github.com/LIYANGSHUAI/LYSPopController.git
- Versions: 版本列表 [master repo]
(END)
具体效果图
UIView *view = [[UIView alloc] init];
view.backgroundColor = [UIColor redColor];
view.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.frame)-20, 120);
LYSPopController *popVC = [[LYSPopController alloc] initWithStyle:(LYSPopStyleTop) popSpacing:120 customView:view];;
[self alertPopController:popVC];
UIView *view = [[UIView alloc] init];
view.backgroundColor = [UIColor redColor];
view.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.frame)-20, 120);
LYSPopController *popVC = [[LYSPopController alloc] initWithStyle:(LYSPopStyleBottom) popSpacing:120 customView:view];;
[self alertPopController:popVC];
UIView *view = [[UIView alloc] init];
view.backgroundColor = [UIColor redColor];
view.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.frame)-20, 120);
LYSPopController *popVC = [[LYSPopController alloc] initWithStyle:(LYSPopStyleLeft) popSpacing:120 customView:view];;
[self alertPopController:popVC];
UIView *view = [[UIView alloc] init];
view.backgroundColor = [UIColor redColor];
view.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.frame)-20, 120);
LYSPopController *popVC = [[LYSPopController alloc] initWithStyle:(LYSPopStyleRight) popSpacing:120 customView:view];;
[self alertPopController:popVC];
UIView *view = [[UIView alloc] init];
view.backgroundColor = [UIColor redColor];
view.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.frame)-20, 120);
LYSPopController *popVC = [[LYSPopController alloc] initWithStyle:(LYSPopStyleCenter) popSpacing:120 customView:view];;
[self alertPopController:popVC];