Logo

Jeff Rock

  • Random
  • Archive
  • RSS
  • Ask me anything
UIKeyboardTypeNumberPad and the missing “return” key

Luzian Scherrer:


  If you have ever written an iPhone app that requires numeric input, then you surely know about the UIKeyboardTypeNumberPad. And if you have ever used that flavor of the iPhone’s keyboard, then you surely know that it lacks one very important feature: The UIKeyboardTypeNumberPad does not have a “return” key.
  
  In fact every other keyboard type (except for the pretty similar UIKeyboardTypePhonePad) does offer the possibility to be dismissed by setting the returnKeyType property of the corresponding UITextInputTraits implementor. So how does one achieve the same effect with the number pad? We have found a workround!
  
  When looking at the number pad, you’ll notice that there is an unused space on its bottom left. That’s where we are going to plug in our custom “return” key.


What a life saver. My compliments to the dev.

Hopefully I can show off my new return-keyed UIKeyboardTypeNumberPad very soon :)
View Separately

UIKeyboardTypeNumberPad and the missing “return” key

Luzian Scherrer:

If you have ever written an iPhone app that requires numeric input, then you surely know about the UIKeyboardTypeNumberPad. And if you have ever used that flavor of the iPhone’s keyboard, then you surely know that it lacks one very important feature: The UIKeyboardTypeNumberPad does not have a “return” key.

In fact every other keyboard type (except for the pretty similar UIKeyboardTypePhonePad) does offer the possibility to be dismissed by setting the returnKeyType property of the corresponding UITextInputTraits implementor. So how does one achieve the same effect with the number pad? We have found a workround!

When looking at the number pad, you’ll notice that there is an unused space on its bottom left. That’s where we are going to plug in our custom “return” key.

What a life saver. My compliments to the dev.

Hopefully I can show off my new return-keyed UIKeyboardTypeNumberPad very soon :)

Source: neoos.ch

  • 2 years ago
  • 1
  • Permalink
  • Share
    Tweet

1 Notes/ Hide

  1. marco liked this
  2. jeffrock posted this
← Previous • Next →

About

Co-founder of Mobelux. I love great design, well thought-out products and good beer.

Pages

  • Dashboard Radio

Me, Elsewhere

  • jeffrock on Dribbble
  • @jeff_rock on Twitter
  • Google
  • jeffrock on github
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

© 2008-2011 Jeff Rock. All rights reserved. Effector Theme by Carlo Franco.

Powered by Tumblr