2012-03-09 22 views
1

我使用下面的代碼來設置我的uiwebview的uidatadetectortypes。uiwebview的uidatadetectortypes使用多個

webview.dataDetectorTypes=UIDataDetectorTypeLink; 

有沒有辦法添加多個datadetectortypes?假設我想讓uiwebview檢測UIDataDetectorTypeLink和UIDataDetectorTypePhones。

任何幫助表示讚賞。

回答

2

使用UIDataDetectorTypeLink | UIDataDetectorTypePhones