Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1912] Turning off format detection on the iPhone

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2012-07-26T10:57:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsformat, ios, iphone, number, telephone
ReporterMatt Collinge
AssigneeNeeraj Gupta
Created2011-04-15T03:05:24.000+0000
Updated2012-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?

Comments

  1. Damien Elmes 2011-04-15

    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.

  2. ctredway 2011-04-15

    In webviews, set the autoDetect=[] and that will turn off the auto detection.

  3. Brian Pattison 2011-04-15

    Thank you, ctredway! This works in 1.5.1.

  4. Stephen Tramer 2012-07-26

    No test provided (bug is incomplete)

    Bug reporter was provided with a correct solution

JSON Source