Setting the inputmode worked for iPhone, but didn\'t work on iPods. I\'ve managed to get the iPod to show the 10-key style keyboard once while doing a pattern = "\\d*"