Logo Questions Linux Laravel Mysql Ubuntu Git Menu

How can I get user's email? iPhone SDK

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

How can I do it with the iPhone SDK?

Thank you!

like image 805
Yakov Avatar asked Feb 27 '23 03:02


2 Answers

Short answer: you can't. You should prompt the user for their email address if you need it.

like image 166
Luke Redpath Avatar answered Mar 01 '23 23:03

Luke Redpath

Have a look at ABGetMe for iOS. Specifically, the AccountEmailAddresses function returns the list of configured e-mail addresses.

like image 27
0xced Avatar answered Mar 02 '23 00:03