开发者

iPhone: Find Phone Number in Text

What I need is find in text Phones Numbers and make it colored and clickable and when click on that it's should call by this number...Is there on iPhon开发者_C百科e ready solution for that ? Or I should write regular expression to find phones numbers, than make it colored an clickable ? The reason I'm asking is that Android have ready method for that, and I don't need to do anything... Thanks...


If you put text in UITextView, there is property called dataDetectorTypes, assign it to UIDataDetectorTypeAll

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜