Add array protectioons.
This commit is contained in:
parent
7c9be2e3de
commit
4986bb09a9
@ -393,8 +393,12 @@
|
||||
weakSelf.buttonView.label.alpha = 0;
|
||||
weakSelf.shortViewHeight.active = NO;
|
||||
} completion:^(BOOL finished) {
|
||||
[weakSelf.viewToLayout layoutIfNeeded];
|
||||
weakSelf.accessibilityElements = @[weakSelf.shortView.label];
|
||||
typeof(self) strongSelf = weakSelf;
|
||||
if (!strongSelf) {
|
||||
return;
|
||||
}
|
||||
[strongSelf.viewToLayout layoutIfNeeded];
|
||||
strongSelf.accessibilityElements = @[strongSelf.shortView.label];
|
||||
UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, nil);
|
||||
[MVMCoreDispatchUtility performBlockInBackground:^{
|
||||
// Must notify animation delegate when animating finished.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user