开发者

extending default iOS phone number/address detection actions

开发者 https://www.devze.com 2023-03-05 13:46 出处:网络
When you have a text area in iOS, it has the capability to detect phone numbers, URLs, and street addresses.When you touch and hold on the linked item, it will pop up actions.

When you have a text area in iOS, it has the capability to detect phone numbers, URLs, and street addresses. When you touch and hold on the linked item, it will pop up actions.

For example, when you see a phone number such as 303-338-2929 and tap and hold the link you will see the following options:

Call, Text Message, Create New Contact, Add to Existing contact.

Is there any way to extend these default actions for my own app? For example开发者_高级运维, web search.

thanks for any ideas....


You'll find the "Advanced Text Processing" talk from WWDC 2011 useful. [video, slides]

0

精彩评论

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