UIAlertView: UIAlertViewStyleSecureTextInput: clavier Numérique

Je suis actuellement à l'aide de cette UIAlertView pour faire un popup login,

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Restricted"
                                                message:@"Please Enter Code to Enable Fields" 
                                               delegate:self
                                      cancelButtonTitle:@"Cancel"
                                      otherButtonTitles:@"Login"
                      , nil];
alert.alertViewStyle = UIAlertViewStyleSecureTextInput;

[alert show];

Cependant, je voudrais d'entrée de texte à un clavier numérique à la place du clavier régulier

Est-il un moyen facile de faire cela, ou dois-je envisager de créer un personnalisé UIAleartView

OriginalL'auteur Jason Rogers | 2012-05-14