Fade unlock VC + search bar responder fix.
[ADDED] Fade effect to unlock view. [UPDATED] Signing profiles. [FIXED] A rare bug that caused the search bar to remain first responder without making it take input or dismissable (hopefully fixed, at least).
This commit is contained in:
@@ -143,6 +143,9 @@
|
||||
- (void)viewDidAppear:(BOOL)animated {
|
||||
|
||||
inf(@"Main will appear");
|
||||
|
||||
// Sometimes, the search bar gets stuck in some sort of first-responder mode that it can't get out of...
|
||||
[self.searchDisplayController.searchBar resignFirstResponder];
|
||||
|
||||
// Needed for when we appear after a modal VC dismisses:
|
||||
// We can't present until the other modal VC has been fully dismissed and presenting in viewDidAppear will fail.
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
@property (weak, nonatomic) IBOutlet UIView *wordWall;
|
||||
@property (strong, nonatomic) IBOutlet UILongPressGestureRecognizer *targetedUserActionGesture;
|
||||
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *loadingUsersIndicator;
|
||||
@property (weak, nonatomic) IBOutlet UIView *uiContainer;
|
||||
|
||||
@property (nonatomic, strong) UIColor *avatarShadowColor;
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
@synthesize wordWall;
|
||||
@synthesize targetedUserActionGesture;
|
||||
@synthesize loadingUsersIndicator;
|
||||
@synthesize uiContainer;
|
||||
@synthesize avatarShadowColor = _avatarShadowColor;
|
||||
@synthesize wordWallAnimating = _wordWallAnimating;
|
||||
@synthesize wordList = _wordList;
|
||||
@@ -184,6 +185,7 @@
|
||||
[self setCreatePasswordTipView:nil];
|
||||
[self setPasswordFieldLabel:nil];
|
||||
[self setLoadingUsersIndicator:nil];
|
||||
[self setUiContainer:nil];
|
||||
[super viewDidUnload];
|
||||
}
|
||||
|
||||
@@ -195,6 +197,8 @@
|
||||
self.selectedUser = nil;
|
||||
[self updateUsers];
|
||||
|
||||
self.uiContainer.alpha = 0;
|
||||
|
||||
[super viewWillAppear:animated];
|
||||
}
|
||||
|
||||
@@ -205,6 +209,10 @@
|
||||
else
|
||||
[self updateLayoutAnimated:YES allowScroll:YES completion:nil];
|
||||
|
||||
[UIView animateWithDuration:0.3 animations:^{
|
||||
self.uiContainer.alpha = 1;
|
||||
}];
|
||||
|
||||
[super viewDidAppear:animated];
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user