title: Unable to add UITextField to UIAlertView on iOS7...works in iOS 6
body: <p>The code below works on iOS6 (and before) but the UITextField does not display in iOS7...any ideas on how to get a UITextField to display in an UIAlterView in iOS7?</p>
  
  <pre><code>UIAlertView* dialog = [[UIAlertView alloc] init];
  [dialog setDelegate:self];
  [dialog setTitle:@"Enter ESC Score"];
  [dialog setMessage:@" "];
  [dialog addButtonWithTitle:@"Cancel"];
  [dialog addButtonWithTitle:@"OK"];
  dialog.tag = 5;
  
  nameField = [[UITextField alloc] initWithFrame:CGRectMake(20.0, 45.0, 245.0, 25.0)];
  [nameField setKeyboardType:UIKeyboardTypeNumberPad];
  [nameField becomeFirstResponder];
  [nameField setBackgroundColor:[UIColor whiteColor]];
  [dialog addSubview:nameField];
  CGAffineTransform moveUp = CGAffineTransformMakeTranslation(0.0, 0.0);
  [dialog setTransform: moveUp];
  [dialog show];
  [dialog release];
  
  [nameField release];
  </code></pre>
  
  <p>Code run for iOS6 displays this:</p>
  
  <p><img src="https://i.stack.imgur.com/je6Kw.png" alt="enter image description here"></p>
  
  <p>same code in iOS7 displays this (notice how UITextField is missing and there is no keyboard):</p>
  
  <p><img src="https://i.stack.imgur.com/JIvLR.png" alt="enter image description here"></p>