access default email address

后端 未结 3 1462
庸人自扰
庸人自扰 2020-12-31 23:14

I am using the MFMailComposeViewController in 3.0 to send an email with attachment etc. inside my app. I would like the \"To:\" address to be defaulted to the default accou

3条回答
  •  别那么骄傲
    2020-12-31 23:55

    The API doesn't expose that information publicly (for probably good reasons, such as preventing developers from harvesting iPhone users' email addresses).

    You should probably go about asking for the user's email address and then saving it for future use.

提交回复
热议问题