| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- //
- // 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 () <CustomTextFieldDelegate>
- @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
|