Changing how iPhone detects phone numbers

Discussion in 'Jailbreaks and iOS Hacks' started by bAa, Nov 14, 2008.

  1. bAa macrumors newbie

    Apr 14, 2008
    Hi, as you know, the iPhone detects phone numbers in SMS, email and webpages, so you can tap on it like a hyperlink, and call or save the number.

    However, the iPhone only detects phone numbers when they are separated by spaces, in my case in Singapore, XXXX XXXX. However, people here do not separate their phone numbers in their SMS/email, making it difficult to save/call the number short of memorising it.

    Anyway to hack this behaviour? I've been looking around and it seems that I'll need to muck around with /System/Library/Frameworks/UIKit.framework/PhoneFormats/UIDefaultFormats.phoneformat, which was introduced in FW2.1. But this is not a standard plist and I can't really edit this.

    Can someone point me to the right direction? Or perhaps tell me if this is the file I should be editing to fix the problem?

    THanks in advance!
  2. *JimmyJ* macrumors newbie

    Jul 20, 2008
    dont know much about editing that type of file but try opening it up in note pad or wordpad then saving it.

Share This Page