开发者

How can I get user's email? iPhone SDK

开发者 https://www.devze.com 2022-12-28 06:39 出处:网络
I need to get an user\'s email address that used in Mail.app. How can I do it with the i开发者_开发知识库Phone SDK?

I need to get an user's email address that used in Mail.app.

How can I do it with the i开发者_开发知识库Phone 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. Specifically, the AccountEmailAddresses function returns the list of configured e-mail addresses.


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 )

another workaround is to save the user phone number and email address in the address book and get that from there

0

精彩评论

暂无评论...
验证码 换一张
取 消