//
//  NvTipTransitionViewController.m
//  SDKDemo
//
//  Created by 刘东旭 on 2018/7/19.
 //
//

#import "NvTipTransitionViewController.h"
#import "NvTipsView.h"

@interface NvTipTransitionViewController ()

@property (nonatomic, strong) UIView *compileView;

@end

@implementation NvTipTransitionViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor clearColor];
    self.compileView = [[UIView alloc] initWithFrame:self.view.frame];
    self.compileView.backgroundColor = [UIColor nv_colorWithHexARGB:@"#99000000"];
    [self.view addSubview:self.compileView];
    
    NvTipsView *tips = [[NvTipsView alloc] initWithFrame:self.view.frame withPrompt:@"提示" describeTitle:@"2个以上素材可添加转场" describeContent:nil buttonText:@"知道了" withCenter:NO];
    [self.view addSubview:tips];
    [tips.clickBtn addTarget:self action:@selector(clickBtnClicked) forControlEvents:(UIControlEventTouchUpInside)];
}

- (UIView *)leftNavigationBarItemView {
    return [UIView new];
}

- (void)clickBtnClicked {
    [self dismissViewControllerAnimated:NO completion:NULL];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
