IDSetViewController.m 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. }
  17. - (void)didReceiveMemoryWarning {
  18. [super didReceiveMemoryWarning];
  19. }
  20. - (void)initUI {
  21. [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_active"] forState:UIControlStateNormal capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
  22. [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_press"] forState:UIControlStateHighlighted capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
  23. [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_disable"] forState:UIControlStateDisabled capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
  24. _txtPhoneNum.returnKeyType = UIReturnKeyDone;
  25. _txtCertifyInput.returnKeyType = UIReturnKeyDone;
  26. }
  27. - (IBAction)btnNextTouched:(id)sender {
  28. UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"QuizViewController" storyboardName:@"SignUp"];
  29. vc.providesPresentationContextTransitionStyle = YES;
  30. vc.definesPresentationContext = YES;
  31. [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
  32. [self presentViewController:vc animated:YES completion:nil];
  33. }
  34. - (IBAction)btnCancelTouched:(id)sender {
  35. [self dismissViewControllerAnimated:YES completion:nil];
  36. }
  37. @end