I have an Xcode 8 project and whenever I instantiate a UITableViewController
, I simply cannot scroll the content. I have made sure that:
userInteractionEnabled
is set toTRUE
(on the tableView)scrollEnabled
is set toTRUE
(on the tableView)- there are no overlayed views which have either
userInteractionEnabled
set toTRUE
or aUITapGestureRecognizer
withcancelsTouchesInView
set toTRUE
- there are no small views which have
clipsToBounds
set toFALSE
and may block the scroll - the table view height is not bigger that the content's
- the bouncing + vertical bouncing is set to TRUE
- I'm using
IQKeyboardManager
. I have made sure that this bug is not caused by the library, by purposely disabling it. - this is not related to orientation either. I have tried with Portrait-only and I have constantly changed the orientation to check the results.
It's interesting that if I tap a UITextField
from one of the static cells, the IQKeyboardManager
scrolls the content a little bit down. So the table view is scrollable, but I cannot do it by normal swiping.
Furthermore, I thought that this may be related to my specific class, maybe I'm doing something wrong... BUT I've even tried to instantiate a blank UITableViewController
at the first initialisation point of the app with 5 sections, but it didn't work.
Please, keep all of this information in mind, what can I do? I'm using iOS 10 and iPhone 6s.