|
@@ -109,10 +109,10 @@ static const CGFloat HUDSIZE = 100.0f;
|
|
|
|
|
|
|
|
- (void)dismiss:(void(^)(void))completion {
|
|
- (void)dismiss:(void(^)(void))completion {
|
|
|
|
|
|
|
|
|
|
+ self.window.userInteractionEnabled = YES;
|
|
|
[UIView animateWithDuration:0.25 animations:^{
|
|
[UIView animateWithDuration:0.25 animations:^{
|
|
|
self.alpha = 0.3;
|
|
self.alpha = 0.3;
|
|
|
} completion:^(BOOL finished) {
|
|
} completion:^(BOOL finished) {
|
|
|
- self.window.userInteractionEnabled = YES;
|
|
|
|
|
[self removeFromSuperview];
|
|
[self removeFromSuperview];
|
|
|
if (completion) {
|
|
if (completion) {
|
|
|
completion();
|
|
completion();
|