Does anyone know how to change the font size of a UITextField in a UIAlertView? The following is my code ...
- (void) editTitle { NSString *string = kLocalizedString(@"Edit Title"); UIAlertView *alert = [[UIAlertView alloc] initWithTitle:nil message:string delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil]; alert.alertViewStyle = UIAlertViewStylePlainTextInput; UITextField *textField = [alert textFieldAtIndex:0]; if (!self.title) { textField.text = nil; } else { textField.text = self.title; } textField.clearsOnBeginEditing = NO; textField.clearButtonMode = UITextFieldViewModeAlways; textField.autocapitalizationType = UITextAutocapitalizationTypeWords; textField.clearsContextBeforeDrawing = NO;
ios iphone uitextfield uialertview
0x141E
source share