Fullscreen image attachment menu.

This commit is contained in:
Christine Corbett 2015-01-24 15:40:51 -10:00 committed by Frederic Jacobs
parent 86c524ddbc
commit bf11775e10
2 changed files with 2 additions and 3 deletions

View file

@ -210,6 +210,7 @@
self.view.userInteractionEnabled = YES;
_isPresenting = NO;
}];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
}];
}

View file

@ -634,9 +634,7 @@ typedef enum : NSUInteger {
TSAttachmentStream *attStream = (TSAttachmentStream*)attachment;
FullImageViewController * vc = [[FullImageViewController alloc] initWithAttachment:attStream fromRect:convertedRect forInteraction:[self interactionAtIndexPath:indexPath]];
[self presentViewController:vc animated:YES completion:^{
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
}];
[vc presentFromViewController:self.navigationController];
}
} else {
DDLogWarn(@"Currently unsupported");