bannzai / SpreadsheetView

Full configurable spreadsheet view user interfaces for iOS applications. With this framework, you can easily create complex layouts like schedule, gantt chart or timetable as if you are using Excel.
MIT License
3.52k stars 458 forks source link

Keyboard sliding up and cover UITextField/UITextView #198

Closed huforrest closed 6 years ago

huforrest commented 6 years ago

In my spreadsheet view, I have many cells that contain textfield. And when keyboard slides up, some UITextField/UITextView are covered. And I have tried to solve this problem by adding the following code but failed. Here is the code:

spreadsheetView.contentInset.bottom = keyboardHeight
spreadsheetView.scrollIndicatorInsets.bottom = keyboardHeight

And my question is: Are the contentInset and scrollIndicatorInsets properties of spreadsheet view working fine? And how do I solve this problem?

saormart commented 6 years ago

@huforrest, I had a similar problem, and I fixed with: IQKeyboardManager Hope this help you!

huforrest commented 6 years ago

@saormart Thank you very much. IQKeyboardManager solved my problem.

saormart commented 6 years ago

@huforrest no problem buddy! Glad it worked for you!