CNLIVEViewController.m 1004 Bytes
//
//  CNLIVEViewController.m
//  CNLiveBPersonalVerificationModule
//
//  Created by dawanzi on 04/06/2020.
//  Copyright (c) 2020 dawanzi. All rights reserved.
//

#import "CNLIVEViewController.h"
#import "CNBPersonalVerificationController.h"
@interface CNLIVEViewController ()

@end

@implementation CNLIVEViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(100, 100, 100, 100);
    button.backgroundColor = [UIColor cyanColor];
    [button addTarget:self action:@selector(buttonAction) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:button];
}
- (void)buttonAction {
    CNBPersonalVerificationController *vc = [[CNBPersonalVerificationController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}
- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end