mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
Merge pull request #318 from tomasfejfar/nonexistent-email-account-fix
iOS > EmailComposer > FIX: Without email account there is an error, that...
This commit is contained in:
@@ -61,8 +61,9 @@
|
||||
// NSData *myData = [NSData dataWithContentsOfFile:path];
|
||||
// [picker addAttachmentData:myData mimeType:@"image/png" fileName:@"rainy"];
|
||||
|
||||
|
||||
[[ super appViewController ] presentModalViewController:picker animated:YES];
|
||||
if (picker != nil) {
|
||||
[[ super appViewController ] presentModalViewController:picker animated:YES];
|
||||
}
|
||||
[picker release];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user