Latest 0.0.5
Homepage https://github.com/LIYANGSHUAI/LYSPopController
License MIT
Platforms ios 8.0
Authors

当前支持最高版本:0.0.3

LYSPopController is mainly a user page pops up a pop-up window in response to an event, prompting user information

iOS技术群群二维码

-> 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];

Latest podspec

{
    "name": "LYSPopController",
    "version": "0.0.5",
    "summary": "LYSPopController,I hope everyone will give me some advice during the process of use. I want to go further.",
    "description": "LYSPopController is mainly a user page pops up a pop-up window in response to an event, prompting user information",
    "homepage": "https://github.com/LIYANGSHUAI/LYSPopController",
    "platforms": {
        "ios": "8.0"
    },
    "license": "MIT",
    "authors": {
        "LIYANGSHUAI": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LIYANGSHUAI/LYSPopController.git",
        "tag": "0.0.5"
    },
    "source_files": [
        "LYSPopController",
        "LYSPopController/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This