我想重建这个: http://cdn.artoftheiphone.com/wp-content/uploads/2009/01/send-email-to-group-iphone.jpg
包括此功能: - 完整的可滚动屏幕 - 同样的设计
使用哪些控件?怎么做?
答案 0 :(得分:1)
嗨,可以通过以下方式完成。
使用UIScrollView并添加子视图以使GUI看起来像这样。
选择UITableView并添加cOustom单元格。
如果您想了解有关屏幕特定部分实施的更多详细信息,请在此处发布。
答案 1 :(得分:1)
MFMailComposeViewController *mailController = [[MFMailComposeViewController alloc] init];
[mailController setSubject:@" my subject"];
NSArray *setToRecipientsArray= [objectToEmailAddress componentsSeparatedByString:@","];
NSArray *setCCRecipientsArray= [objectCCEmailAddress componentsSeparatedByString:@","];
NSArray *setBCCRecipientsArray= [objectBCCEmailAddress componentsSeparatedByString:@","];
[mailController setToRecipients:setToRecipientsArray];
[mailController setCcRecipients:setCCRecipientsArray];
[mailController setCcRecipients:setBCCRecipientsArray];
[mailController setMessageBody:@" my message" isHTML:NO];
mailController.mailComposeDelegate = self;
UINavigationController *myNavController = [self navigationController];
if ( mailController != nil ) {
if ([MFMailComposeViewController canSendMail]){
myNavController presentModalViewController:mailController animated:YES];
}
}
[mailController release];