diff options
author | Vitaly Takmazov | 2017-12-06 00:28:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-12-06 00:28:14 +0300 |
commit | e6287d244a25ec8f637e6da226f0251ed2259e93 (patch) | |
tree | 172cac7c4ff473f2182c3ffa0dcb668335df3bda /Juick/ViewControllers | |
parent | d9651408d629812981164861fcf7710e48e99443 (diff) |
blur login view
Diffstat (limited to 'Juick/ViewControllers')
-rw-r--r-- | Juick/ViewControllers/LoginViewController.h | 1 | ||||
-rw-r--r-- | Juick/ViewControllers/LoginViewController.m | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Juick/ViewControllers/LoginViewController.h b/Juick/ViewControllers/LoginViewController.h index 7a6af5e..baf71db 100644 --- a/Juick/ViewControllers/LoginViewController.h +++ b/Juick/ViewControllers/LoginViewController.h @@ -12,4 +12,5 @@ @interface LoginViewController : UIViewController @property (weak, nonatomic) IBOutlet UITextField *usernameField; @property (weak, nonatomic) IBOutlet UITextField *passwordField; +@property (weak, nonatomic) IBOutlet UIVisualEffectView *visualEffectView; @end diff --git a/Juick/ViewControllers/LoginViewController.m b/Juick/ViewControllers/LoginViewController.m index a65d180..4f63e44 100644 --- a/Juick/ViewControllers/LoginViewController.m +++ b/Juick/ViewControllers/LoginViewController.m @@ -18,6 +18,7 @@ [super awakeFromNib]; self.title = @"Sign in"; [self.view setBackgroundColor:[ColorScheme mainBackground]]; + [self.visualEffectView.contentView setBackgroundColor:[ColorScheme headerBackground]]; self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel target:self action:@selector(cancelSignIn)]; |