messageui

MFMailComposeController error in Line Location tool

-(IBAction)shareList:(id)sender { MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init]; controller.mailComposeDelegate = self; [controller setSubject:@"Share Shopping List "]; [controller setMessageBody:@"Friend Shopping List Table" isHTML:NO]; [self presentModalViewController:controller animated:YES]...

Hide/ change width/ change position of UIButton based on device type

I'm using the new in-app SMS features in my iPhone app, but obviously iPod Touches aren't able to send and receive SMS without support of a third party app. I know all well how to detect the device and how to hide a UIButton, but what I do not know is how to change the width of the others. Above are the three icons. The one on the far ...

Weak link framework

Due to the last release of the adMob package, I have added the MessageUI framework to my project. As I wish to deploy my application to 2.x OS devices, I have weak linked MessageUI as advised. If I build for iPhone device 3.0, it works fine. If I build for iPhone device 2.2.1, I get a link error: "ld: framework not found MessageUI" W...

How can I append text to the bottom of my MFMailComposeViewController?

I would like to add the text "Sent from " to the bottom of the message if([MFMailComposeViewController canSendMail]){ MFMailComposeViewController *controller = [[MFMailComposeViewController alloc] init]; controller.mailComposeDelegate = self; [controller setSubject:[NSString stringWithFormat:@"A message from: %@",se...

MessageUI problem

I have added the message ui framework to my application and it is working fine on 2 devices (ipod 2G with ios 3.0 and iphone 4.0 with os 4.1). But when I gave the code to the customer (iphone 3gs or 3g with ios 3.0) he sent me this log that was shown him after building and running application. 2010-10-11 14:29:33.849 GhostCamera[31099:2...