I just found a strange problem, when I try to use three buttons in an UIAlertView, the view is displayed weirdly, as you can see in this screenshot :

Here is the code :
UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"Login" message:nil delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Login",@"Forget Password", nil];
[alert setAlertViewStyle:UIAlertViewStyleLoginAndPasswordInput];
UITextField *place=[alert textFieldAtIndex:0];
place.placeholder=@"Email";
[alert show];
[alert release];
Please suggest me how I can correct this. Thanks.