1
我有它的細胞UITableView
與UITextViews
和UITextFields
。由於明顯的鍵盤覆蓋下的細胞,你看不到你所輸入的內容。 所以我想滾動tableview
獲取字段可見。 我寫的iOS
文檔推薦碼:的UITextView
編輯回調textViewDidBeginEditing:
前https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html之前的UITextView委託事件稱爲鍵盤事件
但鍵盤事件回調keyboardWillShow:
被稱爲。所以,當我試圖計算我需要作出積極的TextView可見滾動我不能設置活動的TextView。
任何人都知道一個解決方案?