QuizViewController.m 926 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // QuizViewController.m
  3. // OneCable
  4. //
  5. // Created by nComz on 2017. 3. 17..
  6. // Copyright © 2017년 ntels. All rights reserved.
  7. //
  8. #import "QuizViewController.h"
  9. @interface QuizViewController ()
  10. @end
  11. @implementation QuizViewController
  12. - (void)viewDidLoad {
  13. [super viewDidLoad];
  14. }
  15. - (void)didReceiveMemoryWarning {
  16. [super didReceiveMemoryWarning];
  17. }
  18. - (IBAction)btnNextTouched:(id)sender {
  19. UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"UserNameSetViewController" storyboardName:@"SignUp"];
  20. vc.providesPresentationContextTransitionStyle = YES;
  21. vc.definesPresentationContext = YES;
  22. [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
  23. [self presentViewController:vc animated:YES completion:nil];
  24. }
  25. - (IBAction)btnCancelTouched:(id)sender {
  26. [self dismissViewControllerAnimated:YES completion:nil];
  27. }
  28. @end