我想在下面实现这样的效果,但也想要这两个UITextField之间的距离。我怎么能这样做?
UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"LoginAndPasswordStyle"
message:@"Enter login and password"
preferredStyle:UIAlertControllerStyleAlert];
[alert addTextFieldWithConfigurationHandler:^(UITextField *textField)
{
textField.placeholder = @"Login";
}],
[alert addTextFieldWithConfigurationHandler:^(UITextField *textField)
{
textField.placeholder = @"Pass";
textField.secureTextEntry = YES;
}],