質問編集履歴
1
\.handleKeyboardWillBeShownNotification\(;:\)\)→\.handleKeyboardWillBeShownNotification\(_:\)\)
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
let notificationCenter = NotificationCenter.default
|
14
14
|
|
15
|
-
notificationCenter.addObserver(self, selector: #selector(NewVocabularyNotebook.handleKeyboardWillBeShownNotification(
|
15
|
+
notificationCenter.addObserver(self, selector: #selector(NewVocabularyNotebook.handleKeyboardWillBeShownNotification(_:)), name: UIKeyboardWillShowNotification, object: nil)
|
16
16
|
|
17
17
|
notificationCenter.addObserver(self, selector: #selector(NewVocabularyNotebook.handleKeyboardWillBeHiddenNotification(_:)), name: UIKeyboardWillHideNotification, object: nil)
|
18
18
|
|