Using hyphen - iPhone OS thinks it's a phone number...

Discussion in 'iOS Programming' started by bitfactory, Apr 3, 2009.

  1. macrumors regular


    Jul 22, 2002
    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:

    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.

  2. thread starter macrumors regular


    Jul 22, 2002
    NM, I found it:

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

    Thanks - Art
  3. macrumors 6502a

    Jun 5, 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

Share This Page