2
我想設置MFMailComposerViewController的標題,它是UINavigationController的子類。如何在MFMailComposerViewController中設置標題?
我使用這些方法如下:
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
[picker.navigationController navigationItem].title = @"Send Mail";
[[picker navigationItem] setTitle:@"Send Mail"];
但我不能夠設置標題。
我做錯了嗎? 有沒有其他方法可以這樣做?
謝謝