Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 3, 2009, 01:04 PM   #1
bitfactory
macrumors regular
 
Join Date: Jul 2002
Using hyphen - iPhone OS thinks it's a phone number...

Hi Folks,

I'm build an iPhone web app, and I discovered that when I display some data with a hyphen - it displays it as a link - the phone thinks it's a telephone number.

Here's what's being displayed:
<span>72-04756</span>

It creates a break before and after this number, and turns it into a link.

Any ideas how to display this number without the phone thinking it's a phone number? I thought the only time the phone would trigger a phone number with with a <a href="tel:555-555-5555"> link.

???
bitfactory is offline   0 Reply With Quote
Old Apr 3, 2009, 01:06 PM   #2
bitfactory
Thread Starter
macrumors regular
 
Join Date: Jul 2002
NM, I found it:

<meta name = "format-detection" content = "telephone=no">

Thanks - Art
bitfactory is offline   0 Reply With Quote
Old Apr 3, 2009, 08:11 PM   #3
macfanboy
macrumors 6502a
 
Join Date: Jun 2007
i don't think the hyphen was the problem --- i would think the fact that it's a 7-digit number would confuse it

just my thoughts
macfanboy is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iPhone losing the my phone number Jldjs iPhone 2 Dec 20, 2013 01:58 PM
4S- Changed phone number, old number still shows up in messages dbabytro iPhone 4 Jul 18, 2013 01:58 PM
Activation Phone Number iPhone 5 Xarthan iPhone 0 Sep 23, 2012 01:12 AM
iPhone 4s phone number oscarm iPhone 15 Aug 6, 2012 01:20 AM
iPhone Phone Number That-Guy iPhone 1 Jul 2, 2012 07:34 PM

Forum Jump

All times are GMT -5. The time now is 08:18 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC