iOS 12 在 QuickType 栏中建议电话号码 [英] iOS 12 suggest phone number in QuickType bar

查看:25
本文介绍了iOS 12 在 QuickType 栏中建议电话号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Lyft 如何在 QuickType 栏中建议我的电话号码,以便我不必手动输入?我知道 Apple 在 iOS 12 中引入了用户名、密码、安全码等的自动填充功能,看起来这个电话号码建议可能使用了类似的功能,但我不知道如何让我的任何应用程序建议电话号码就像 Lyft 在下面所做的那样.

How is Lyft suggesting my phone number in the QuickType bar so that I do not have to enter it manually? I know Apple introduced autofill functionality for usernames, passwords, security codes, and more with iOS 12 and it looks like this phone number suggestion may be using a similar function but I cannot figure out how to get any of my apps to suggest the phone number like Lyft is doing below.

推荐答案

正如@Rob 在我的问题下方的评论中所说.

As @Rob said in a comment below my question.

textField.textContentType = UITextContentType.telephoneNumber

导致我正在寻找的行为.谢谢@Rob

Results in the behavior I was looking for. Thanks @Rob

这篇关于iOS 12 在 QuickType 栏中建议电话号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆