Typing on iPhone is tedious; I'd like to prompt my users for their email address without requiring them to actually type it.
在iPhone上打字很繁琐;我想提示我的用户他们的电子邮件地址,而不是要求他们真正输入它。
Ideally they'd receive a dialog saying: "This app would like to use your email address. Don't Allow / Allow"
理想情况下,他们会收到一个对话框说:“这个应用程序想要使用你的电子邮件地址。”允许/不允许”
If the user tapped "Allow," it would auto-fill their email address (the one they have configured in Mail.app) in a text field.
如果用户点击“允许”,它会在文本框中自动填充他们的电子邮件地址(他们在Mail.app中配置的)。
Is this possible?
这是可能的吗?
2 个解决方案
#1
3
Nope. But you can load up the contact picker interface and ask the user to select themselves from it-- that's much more friendly than making them type it in.
不。但是,您可以加载contact picker界面,并要求用户从中进行选择——这比让用户输入要友好得多。
更多信息:http://developer.apple.com/iphone/library/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/200-QuickStart/QuickStart.html
#2
1
Yes it is possible, have a look at ABGetMe for iOS. Note that you would have to write the allow/don’t allow dialog yourself. Also, make sure to read and understand the Limitations section of the README.
是的,这是可能的,看看ABGetMe为iOS。注意,您必须自己编写允许/不允许对话框。另外,请务必阅读和理解README的局限性部分。
#1
3
Nope. But you can load up the contact picker interface and ask the user to select themselves from it-- that's much more friendly than making them type it in.
不。但是,您可以加载contact picker界面,并要求用户从中进行选择——这比让用户输入要友好得多。
更多信息:http://developer.apple.com/iphone/library/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/200-QuickStart/QuickStart.html
#2
1
Yes it is possible, have a look at ABGetMe for iOS. Note that you would have to write the allow/don’t allow dialog yourself. Also, make sure to read and understand the Limitations section of the README.
是的,这是可能的,看看ABGetMe为iOS。注意,您必须自己编写允许/不允许对话框。另外,请务必阅读和理解README的局限性部分。