| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- //
- // QuizViewController.m
- // OneCable
- //
- // Created by nComz on 2017. 3. 17..
- // Copyright © 2017년 ntels. All rights reserved.
- //
- #import "QuizViewController.h"
- #import "CustomButton.h"
- #import "CustomTextField.h"
- @interface QuizViewController ()
- @end
- @implementation QuizViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
-
- [self initUI];
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
-
- }
- - (void)initUI {
- [self.navigationController.navigationBar setHidden:YES];
- self.navigationController.interactivePopGestureRecognizer.enabled = NO;
-
- [_lblStep setColor:kUITextColor03 text:[NSString stringWithFormat:@"%@", @"/ 6"]];
-
- [self.btnOverlap setBackgroundImage:[UIImage imageNamed:@"img_btn_common_active"] forState:UIControlStateNormal capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
-
- [self.btnOverlap setBackgroundImage:[UIImage imageNamed:@"img_btn_common_press"] forState:UIControlStateHighlighted capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
-
- [self.btnOverlap setBackgroundImage:[UIImage imageNamed:@"img_btn_common_disable"] forState:UIControlStateDisabled capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
-
- _txtYear.keyboardType = UIKeyboardTypeDefault;
- _txtMonth.keyboardType = UIKeyboardTypeDefault;
- _txtDay.keyboardType = UIKeyboardTypeDefault;
-
- _txtYear.returnKeyType = UIReturnKeyNext;
- _txtMonth.returnKeyType = UIReturnKeyNext;
- _txtDay.returnKeyType = UIReturnKeyDone;
-
- }
- - (IBAction)btnNextTouched:(id)sender {
- UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"UserNameSetViewController" storyboardName:@"SignUp"];
-
- // vc.providesPresentationContextTransitionStyle = YES;
- // vc.definesPresentationContext = YES;
- //
- // [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
- //
- // [self presentViewController:vc animated:YES completion:nil];
- [self.navigationController pushViewController:vc animated:YES];
- }
- - (IBAction)btnCancelTouched:(id)sender {
- [self dismissViewControllerAnimated:YES completion:nil];
- }
- - (IBAction)btnOverlapTouched:(id)sender {
- }
- @end
|