Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のiPadアプリケーションでは、最初のビューは認証ビューです。 iPhoneのパスワード画面として4つの四角いボックスがあり、ユーザーはキーボードで数字を入力するだけです。ここでは、四角いボックスが無効になっています。 現在、iPadにはキーボード非表示ボタンとそのキーボード非表示があります。問題は、キーボードを戻すことができないことです。このビューでキーボードの非表示を無効にするにはどうすればよいですか?
認証ビューを aUITextFieldDelegateにして、次のメソッドを追加します。
UITextFieldDelegate
- (BOOL)textFieldShouldEndEditing:(UITextField *)textField { return NO; }