Create an instance method in MFMailViewController class with some parameter like dictionary or NSArray
when you click on Email it button you are creating object of MFMailViewController then called the instance method using the controller object and pass the parameter or info to.
then push it s view to navigation.
#import <Foundation/Foundation.h>
@interface MFmailViewController: NSObject
{}
- (撤销)sendEmail:NSMutableDictionary* withData;
@end
#import "MFMailViewController.h"
@implementation MFMailViewController
- (撤销)sendEmail:NSMutableDictionary* withData;
{
//definition goes here.................
}
@end
MFMailViewController *controller = [[MFMailViewController alloc] initWithNibName:"MFMailViewController" bundle:nil];
[controller sendEmail:withData];
[[self navigationController] pushViewController:viewController animated:YES];
[viewController release];