diff --git a/MasterPassword/iOS/MPUnlockViewController.m b/MasterPassword/iOS/MPUnlockViewController.m index 5911080b..33058569 100644 --- a/MasterPassword/iOS/MPUnlockViewController.m +++ b/MasterPassword/iOS/MPUnlockViewController.m @@ -145,7 +145,18 @@ usingBlock:^(NSNotification *note) { [self updateUsers]; }]; - + [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationWillResignActiveNotification object:nil queue:nil + usingBlock:^(NSNotification *note) { + self.uiContainer.alpha = 0; + }]; + [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationDidBecomeActiveNotification object:nil queue:nil + usingBlock:^(NSNotification *note) { + [self updateLayoutAnimated:NO allowScroll:NO completion:nil]; + [UIView animateWithDuration:1 animations:^{ + self.uiContainer.alpha = 1; + }]; + }]; + [self updateLayoutAnimated:NO allowScroll:YES completion:nil]; [super viewDidLoad]; diff --git a/Resources/Background/background.png b/Resources/Background/background.png index 39e0ff67..b3bb2958 100644 Binary files a/Resources/Background/background.png and b/Resources/Background/background.png differ diff --git a/Resources/Background/background@2x.png b/Resources/Background/background@2x.png index 55edff5b..fbf8262d 100644 Binary files a/Resources/Background/background@2x.png and b/Resources/Background/background@2x.png differ diff --git a/Resources/Default-568h.png b/Resources/Default-568h.png index 7e4ad477..e82a690c 100644 Binary files a/Resources/Default-568h.png and b/Resources/Default-568h.png differ diff --git a/Resources/Default-568h@2x.png b/Resources/Default-568h@2x.png index af39c762..ca43bb3f 100644 Binary files a/Resources/Default-568h@2x.png and b/Resources/Default-568h@2x.png differ diff --git a/Resources/Default.png b/Resources/Default.png index 0e87b063..f5eede50 100644 Binary files a/Resources/Default.png and b/Resources/Default.png differ diff --git a/Resources/Default@2x.png b/Resources/Default@2x.png index 10fad339..916bb981 100644 Binary files a/Resources/Default@2x.png and b/Resources/Default@2x.png differ diff --git a/Resources/book.png b/Resources/book.png index e452d3b0..c7e440b1 100644 Binary files a/Resources/book.png and b/Resources/book.png differ