首页 > 代码库 > 模态视图

模态视图

- (IBAction)login:(id)sender {    UIStoryboard* mainStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];    UIViewController *LoginViewController = [mainStoryboard instantiateViewControllerWithIdentifier:@"firstview"];        LoginViewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;    [self presentViewController:LoginViewController animated:YES completion:^{        NSLog(@"Present Modal View");    }];    }

 

模态视图