简体   繁体   English

我怎样才能收到用户的电子邮件? iPhone SDK

[英]How can I get user's email? iPhone SDK

I need to get an user's email address that used in Mail.app. 我需要获取Mail.app中使用的用户电子邮件地址。

How can I do it with the iPhone SDK? 我怎么能用iPhone SDK做到这一点?

Thank you! 谢谢!

Short answer: you can't. 简短的回答:你做不到。 You should prompt the user for their email address if you need it. 如果需要,您应该提示用户输入他们的电子邮件地址。

Have a look at ABGetMe for iOS. 看看ABGetMe for iOS。 Specifically, the AccountEmailAddresses function returns the list of configured e-mail addresses. 具体来说, AccountEmailAddresses函数返回已配置的电子邮件地址列表。

welcome to IOS, just assume that you are not allowed to do anything that is related to the private user info ( email address \\ phone number ) 欢迎来到IOS,假设您不允许做任何与私人用户信息(电子邮件地址\\电话号码)相关的事情

another workaround is to save the user phone number and email address in the address book and get that from there 另一种解决方法是将用户电话号码和电子邮件地址保存在地址簿中,然后从那里获取

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从iPhone的iPod将歌曲获取到iPhone SDK中数组中的应用程序? - how can i get songs from my iphone's ipod to my application in array in iphone sdk? 如何使用iPhone SDK中的Twitter Integration获取电子邮件ID列表? - How can I get the email id list using Twitter Integration in the iPhone SDK? iPhone SDK Mapkit:如何检查用户的位置是否与给定坐标在同一条街道/大街上? - iPhone SDK Mapkit: How can I check if the user's location is in the same street/avenue as a given coordinate? 如何从iPhone sdk中的标签获取文本字段值? - How can i get the textfield value from tag in iPhone sdk? 如何在iphone sdk中获取运营商声响的更新? - How can i get updates of carrier detaction in iphone sdk? 在iPhone 4 SDK中,如何获取TransitionCurlUp触发随机文本? - In the iphone 4 sdk, how can I get TransitionCurlUp to trigger random text? 您可以通过iPhone SDK获得当前用户的电话号码和联系方式吗? - Can you get the current user's phone # and contact details through the iPhone SDK? 如何从 iphone 设备获取 email 历史记录..? - How can i get email history from iphone device..? 我的应用程序如何获取用户iPhone上的日历列表 - How can my app get a list of calendars on user's iPhone 如何在iphone SDK中发送电子邮件? - how to send email in iphone SDK?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM