harshalb
harshalb

Reputation: 6054

How to remove Cc or Bcc in MFMailIComposeViewController?

I don't want include cc or bcc fields in mail composer sheet ..

Can anybody knows how can I do so ?

Upvotes: 0

Views: 1980

Answers (2)

Chintan Patel
Chintan Patel

Reputation: 3165

As lyon mentions, the changes you can do to the looks of this dialog is almost none.

There is a sample code from Apple which you can try and play around. It is called MailComposer.

I just tried to pass nil for cc and bcc like this for you but it didnt work:

[picker setToRecipients:toRecipients];
[picker setCcRecipients:nil];   
[picker setBccRecipients:nil];

Upvotes: 1

lyonanderson
lyonanderson

Reputation: 2035

You can't remove them.

There is very little you can change about the look of this dialog.

Upvotes: 4

Related Questions