IDSetViewController.m 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //
  2. // IDSetViewController.m
  3. // OneCable
  4. //
  5. // Created by nComz on 2017. 3. 17..
  6. // Copyright © 2017년 ntels. All rights reserved.
  7. //
  8. #import "IDSetViewController.h"
  9. #import "CustomButton.h"
  10. #import "CustomTextField.h"
  11. @interface IDSetViewController ()
  12. @end
  13. @implementation IDSetViewController
  14. - (void)viewDidLoad {
  15. [super viewDidLoad];
  16. [self initUI];
  17. }
  18. - (void)didReceiveMemoryWarning {
  19. [super didReceiveMemoryWarning];
  20. }
  21. - (void)initUI {
  22. [self.navigationController.navigationBar setHidden:YES];
  23. self.navigationController.interactivePopGestureRecognizer.enabled = NO;
  24. [_lblStep setColor:kUITextColor03 text:[NSString stringWithFormat:@"%@", @"/ 6"]];
  25. [self.btnOverlap setBackgroundImage:[UIImage imageNamed:@"img_btn_common_active"] forState:UIControlStateNormal capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
  26. [self.btnOverlap setBackgroundImage:[UIImage imageNamed:@"img_btn_common_press"] forState:UIControlStateHighlighted capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
  27. [self.btnOverlap setBackgroundImage:[UIImage imageNamed:@"img_btn_common_disable"] forState:UIControlStateDisabled capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
  28. _txtIdInput.keyboardType = UIKeyboardTypeDefault;
  29. _txtIdInput.returnKeyType = UIReturnKeyDone;
  30. }
  31. - (IBAction)btnNextTouched:(id)sender {
  32. UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"QuizViewController" storyboardName:@"SignUp"];
  33. // vc.providesPresentationContextTransitionStyle = YES;
  34. // vc.definesPresentationContext = YES;
  35. //
  36. // [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
  37. //
  38. // [self presentViewController:vc animated:YES completion:nil];
  39. [self.navigationController pushViewController:vc animated:YES];
  40. }
  41. - (IBAction)btnCancelTouched:(id)sender {
  42. [self dismissViewControllerAnimated:YES completion:nil];
  43. }
  44. - (IBAction)btnOverlapTouched:(id)sender {
  45. }
  46. @end