title: warning: 'UIAlertView' may not respond to '-addTextFieldWithValue:label:'
body: <p>in my application i was using UIAlertView for login, it contains TextFields, its working perfectly, but i'm getting a warning when i compile the code, i'm using iphone SDK 3.0</p>
  <p>code :</p>
  <pre><code>loginAlert = [[UIAlertView alloc] initWithTitle:@&quot;Enter the User Name and Password&quot; message:@&quot;&quot; delegate:self cancelButtonTitle:@&quot;Cancel&quot; otherButtonTitles:@&quot;Login&quot;, nil];
    
  [loginAlert addTextFieldWithValue:appDelegate.userName label:@&quot;UserName&quot;];
  </code></pre>
  <p>warning: 'UIAlertView' may not respond to '-addTextFieldWithValue:label:'</p>
  <br/>
  <br/>
  <pre><code>txfUserName = [loginAlert textFieldAtIndex:0];
  </code></pre>
  <p>warning: 'UIAlertView' may not respond to '-textFieldAtIndex:'</p>