How can I get user email? iPhone SDK

I need to get the email address of the user that is used in Mail.app.

How can I do this with the iPhone SDK?

Thank!

+3
source share
3 answers

Short answer: you cannot. You must provide the user with your email address if you need it.

+4
source

Check out ABGetMe for iOS. In particular, the function AccountEmailAddressesreturns a list of configured email addresses.

+2
source

IOS, , -, ( \ )

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

+1
source

Source: https://habr.com/ru/post/1742668/


All Articles