improve keyboard toggle by adding keyboard notification. minor UI string change

This commit is contained in:
True Zhuanjia
2024-05-16 17:44:18 +08:00
parent 72547b1b59
commit f85b736c97
4 changed files with 32 additions and 12 deletions
@@ -179,6 +179,7 @@
#if 0
// FIXME: This doesn't work reliably on iPad for some reason. Showing and hiding the keyboard
// several times in a row will not correctly restore the state of the UIScrollView.
// I add this notification to the StreamView, works well on ipad mini6.
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(keyboardWillShow:)
name: UIKeyboardWillShowNotification