[TIMOB-1912] Turning off format detection on the iPhone
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-07-26T10:57:07.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | format, ios, iphone, number, telephone |
Reporter | Matt Collinge |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:05:24.000+0000 |
Updated | 2012-07-26T20:45:16.000+0000 |
Description
This ticket has been created in response to this pro support ticket;
http://developer.appcelerator.com/helpdesk/view/44241">http://developer.appcelerator.com/helpdesk/view/44241
Summary
I have numbers in a webview that are being converted to phone number links. I see that the UIWebView class in Object C has a dataDetectorTypes property where you can set what types of data will automatically be formatted into links.
If turning off the automatic detection it is an option in the native environment shouldn't you be able to duplicate the functionality in Titanium?
I think you may need to assign it to someone for it to get noticed, but I'm not sure of exactly how Appcelerator wants users to file reports.
In webviews, set the autoDetect=[] and that will turn off the auto detection.
Thank you, ctredway! This works in 1.5.1.
No test provided (bug is incomplete)
Bug reporter was provided with a correct solution