开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜