Add object detection, tracking, mobile notifications, and search to any security camera.
fix textbox
roryclear16ff96bc797e
diff --git a/ios/clearcam/LoginViewController.m b/ios/clearcam/LoginViewController.mindex 4304785..7a6ac5d 100644--- a/ios/clearcam/LoginViewController.m+++ b/ios/clearcam/LoginViewController.m@@ -2,12 +2,18 @@#import "GalleryViewController.h"#import "StoreManager.h"-@interface LoginViewController ()+@interface LoginViewController () <UITextFieldDelegate>@property (nonatomic, strong) UIImageView *appIconView;@end@implementation LoginViewController+- (BOOL)textFieldShouldReturn:(UITextField *)textField {+ [textField resignFirstResponder];+ [self loginButtonTapped];+ return YES;+}+- (void)viewDidLoad {[super viewDidLoad];[[StoreManager sharedInstance] clearSessionTokenFromKeychain];@@ -59,6 +65,11 @@self.usernameTextField.backgroundColor = [UIColor secondarySystemBackgroundColor];self.usernameTextField.textColor = [UIColor labelColor];self.usernameTextField.translatesAutoresizingMaskIntoConstraints = NO;+ self.usernameTextField.autocorrectionType = UITextAutocorrectionTypeNo;+ self.usernameTextField.autocapitalizationType = UITextAutocapitalizationTypeNone;+ self.usernameTextField.spellCheckingType = UITextSpellCheckingTypeNo;+ self.usernameTextField.returnKeyType = UIReturnKeyGo;+ self.usernameTextField.delegate = self;[container addSubview:self.usernameTextField];self.loginButton = [UIButton buttonWithType:UIButtonTypeSystem];