UITextField in UIAlertView
Why do I get error messages on these lines (<-----) in this code
[alert addTextFieldWithValue:@"" label:@"Namn"];
CustomerName = [alert textFieldAtIndex:0];
CustomerName.keyboardType = UIKeyboardTypeAlphabet; <-----
CustomerName.clearOnBeginEditing = YES; <-----
CustomerName.clearButtonMode = UITextFieldViewModeWhileEditing; <-----
CustomerName.keyboardAppearance = UIKeyboardAppearanceAlert; <-----
has the keyboardType, clearsOnBeginEditing, clearButtonMode and keyboardAppearance changed?
Thanks for any help!
|