我如何UITextView
从另一个视图控制器访问正文以获取电子邮件是我的代码
EmergencyMessageController *ViewB1 = [[EmergencyMessageController alloc]initWithNibName:@"EmergencyMessageController" bundle:nil];
NSString *Em1 = ViewB1.Emsg.text;
NSString *body = [[NSString alloc] initWithFormat:@" ",Em1];//my problem is here to access Em1 data
controller.mailComposeDelegate = self;
[controller setSubject:@"Emergency Message"];
[controller setMessageBody:body isHTML:YES];
[controller setToRecipients:recipients];
[self presentModalViewController:controller animated:NO];