2011-04-05 190 views

回答

2

我想你应该读Apple docs 它会帮助你多过正被这里使用的用户界面仅仅是因为他们很可能子类MFMailComposeViewController

+0

因德尔谢谢!我已经读过,我们准备好了。不过,我认为用户看到表单并输入内容会更自然。我不想将它们从应用程序中移除。我们可能永远不会让他们回来。 – scottorn 2011-04-05 06:22:55

2

你可以使用这个代码块你目的。

picker.mailComposeDelegate = self; 
NSArray *toRecipients = [NSArray arrayWithObject:@"[email protected]"]; 
NSString *tosubject =txtSubject.text; 
[picker setSubject:tosubject]; 


// Set up recipients 
[picker setToRecipients:toRecipients]; 

干杯

+0

谢谢Aditya,我会试试看看它是否有效。 thx – scottorn 2011-04-05 06:23:26

+0

不要担心它肯定会工作! – Aditya 2011-04-05 06:25:13

相关问题