Keyboard information inside "didRotateFromInterfaceOrientation"

How can I get information if the keyboard is visible when the device orientation is changed? This information is sent internally - (void) didRotateFromInterfaceOrientation: (UIInterfaceOrientation) Method iFromInterfaceOrientation?

+3
source share
1 answer

No, you will have to sign up for a notification and save the information somewhere.

Take a look

UIKeyboardWillShowNotification
UIKeyboardDidShowNotification
UIKeyboardWillHideNotification
UIKeyboardDidHideNotification
+2
source

Source: https://habr.com/ru/post/1768676/


All Articles