UIScrollViewKeyboardDismissModeInteractive changing tableview height with keyboard
问题 Within a UIViewController I've set self.tableView.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive . This is great because the user can drag the keyboard down from the tableview. However, the tableview maintains it's current height when dragging down the keyboard. This looks odd because it leaves empty space between the keyboard and the scrollview. How can I persistently track the frame of the keyboard so I may resize the tableview as the user drags the keyboard? I've tried