iphone Pass String to another .m file in project
问题 ViewController.m will assemble the body of an email as the user pushes buttons and types in textviews. The program that reads the email asks that it is in XML. The final message will look like this: NSString *sendMessage = [[NSString alloc]initWithFormat:@"<?xml version = \"1.0\" ?>\n<?commitcrmxml version = \"1.0\" ?>\n<CommitCRMTransaction>\n<ExternalApplicationName>Myapp</ExternalApplicationName>\n<SendResponseToEmail>err@mysite.com</SendResponseToEmail>\n<Password>pass</Password>\n