Remove OK button from pairing PIN dialog, since it dismisses automatically

This commit is contained in:
Cameron Gutman
2015-07-10 11:37:32 -07:00
parent 935fb6ffe3
commit 54dd79d2dd

View File

@@ -44,7 +44,6 @@ static NSArray* appList;
_pairAlert = [UIAlertController alertControllerWithTitle:@"Pairing"
message:[NSString stringWithFormat:@"Enter the following PIN on the host machine: %@", PIN]
preferredStyle:UIAlertControllerStyleAlert];
[_pairAlert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:nil]];
[self presentViewController:_pairAlert animated:YES completion:nil];
});
}