BugFix: send image is now enabled on ios8

This commit is contained in:
giomfo 2014-11-19 18:35:37 +01:00
parent 14caf240c7
commit 2c99a58421

View file

@ -1293,6 +1293,7 @@ NSString *const kFailedEventId = @"failedEventId";
weakSelf.actionMenu = [[CustomAlert alloc] initWithTitle:@"Select an attachment type:" message:nil style:CustomAlertStyleActionSheet]; weakSelf.actionMenu = [[CustomAlert alloc] initWithTitle:@"Select an attachment type:" message:nil style:CustomAlertStyleActionSheet];
[weakSelf.actionMenu addActionWithTitle:@"Media" style:CustomAlertActionStyleDefault handler:^(CustomAlert *alert) { [weakSelf.actionMenu addActionWithTitle:@"Media" style:CustomAlertActionStyleDefault handler:^(CustomAlert *alert) {
if (weakSelf) { if (weakSelf) {
weakSelf.actionMenu = nil;
// Open media gallery // Open media gallery
UIImagePickerController *mediaPicker = [[UIImagePickerController alloc] init]; UIImagePickerController *mediaPicker = [[UIImagePickerController alloc] init];
mediaPicker.delegate = weakSelf; mediaPicker.delegate = weakSelf;