How to set title in the MFMailComposerViewController ?

Posted by Biranchi on Stack Overflow See other posts from Stack Overflow or by Biranchi
Published on 2010-03-25T07:28:31Z Indexed on 2010/03/25 7:33 UTC
Read the original article Hit count: 499

Hi All,

I am trying to set the title of MFMailComposerViewController , which is a subclass of UINavigationController.

I am using these following ways :

 MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
 [picker.navigationController navigationItem].title = @"Send Mail";
 [[picker navigationItem] setTitle:@"Send Mail"];

But I am not able to set the Title.

Am i doing it wrong ?? Is there any other method to do so ??

Thanks

© Stack Overflow or respective owner

Related posts about mfmailcomposeviewcontroll

Related posts about iphone