// // SettingsPasswdSetViewController.m // OneCable // // Created by nComz on 2017. 4. 19.. // Copyright © 2017년 ntels. All rights reserved. // #import "SettingsPasswdSetViewController.h" #import "CustomTextField.h" #import "CustomButton.h" #import "CustomLabel.h" @interface SettingsPasswdSetViewController () @end @implementation SettingsPasswdSetViewController - (void)viewDidLoad { [super viewDidLoad]; [self initUI]; } - (void)initUI { UIView *statusBar = [[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"] valueForKey:@"statusBar"]; statusBar.backgroundColor = [UIColor whiteColor]; _txtInputPasswd.returnKeyType = UIReturnKeyDone; _txtInputPasswd.delegate = self; [self.navigationController.navigationBar setHidden:YES]; self.navigationController.interactivePopGestureRecognizer.enabled = NO; } - (IBAction)btnCancelTouched:(id)sender { [[self navigationController] popToRootViewControllerAnimated:YES]; } - (IBAction)btnSaveTouched:(id)sender { [[self navigationController] popToRootViewControllerAnimated:YES]; } - (BOOL)textFieldShouldReturn:(UITextField *)textField { if ([textField isEqual:_txtInputPasswd]) { [textField resignFirstResponder]; } return YES; } - (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; } @end