Whether iPad 4.3 simulator is supporting UIKeyboardAppearanceAlert or not?
I have used this code:
myTextField.keyboardType = UIKeyboardTypeNumberPad;
myTextField.keyboardAppearance = UIKeyboardAppearanceAlert;
But when I run my project in iPad simulator 4.3, keyboard appearance is not getting changed?
It looks like the same as UIKeyboardAppearanceDefault one
The same code for iPho开发者_高级运维ne 4.3 works fine. Keyboard appearance is getting changed there.
The alert mode is meant for input in alert view, for important things. It has probably a different behavior. Apple uses it for example in the App/iTunes/iBookstore Store login screen.
Indeed, on the iPad, the appearance is the same.
I think that Apple recommends against using the alert mode.
精彩评论