Index: iOS/ShowDetailsController.m ================================================================== --- iOS/ShowDetailsController.m +++ iOS/ShowDetailsController.m @@ -42,11 +42,11 @@ * NSMutableString does not offer a way to zero the string. * This is in the hope that setting a single character at an index just * replaces that character in memory, and thus allows us to zero the * password. */ - for (NSUInteger i = 0 ; i < string.length; i++) + for (NSUInteger i = 0; i < string.length; i++) [string replaceCharactersInRange: NSMakeRange(i, 1) withString: @" "]; } @implementation ShowDetailsController @@ -87,17 +87,10 @@ [self.mainViewController.tableView deselectRowAtIndexPath: indexPath animated: YES]; } -- (void)viewDidAppear: (BOOL)animated -{ - [super viewDidAppear: animated]; - - [self.passphraseField becomeFirstResponder]; -} - - (BOOL)textFieldShouldReturn: (UITextField *)textField { [textField resignFirstResponder]; return NO; }