Skip to content

Commit

Permalink
Add more device info to feedback email
Browse files Browse the repository at this point in the history
  • Loading branch information
duemunk committed Dec 17, 2014
1 parent 93f1071 commit b5177f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BeMyEyes/Source/Controllers/BMESettingsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ - (IBAction)settingValueChanged:(id)sender {

- (IBAction)feedbackButtonPressed:(id)sender {
NSString *appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"];
NSString *initialBody = [NSString stringWithFormat:@"\n\n%@ %@", appName, [self versionString]];
NSString *hardwareModel = [UIDevice currentDevice].model;
NSString *systemVersion = [UIDevice currentDevice].systemVersion;
NSString *initialBody = [NSString stringWithFormat:@"\n———\n%@ %@\n%@\niOS %@", appName, [self versionString], hardwareModel, systemVersion];
MFMailComposeViewController *mailComposeController = [MFMailComposeViewController new];
mailComposeController.mailComposeDelegate = self;
[mailComposeController setToRecipients:@[ BMEFeedbackRecipientEmail ]];
Expand Down

0 comments on commit b5177f3

Please sign in to comment.