2

so I have created a UICollectionViewController, made each cell the size of the screen and enabled the function to scroll horizontally between the cells like pages.

Gif scrolling example

My problem is whenever the keyboard comes up (as I plan to populate the cells with some input to get from the user) it pushes the content off the screen.

Keyboard pushing content

I am not sure how to stop this, and I have looked online but to no avail. The best I could find is this question also on stackoverflow but it doesn't help.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Doto Pototo
  • 686
  • 2
  • 9
  • 19
  • 1
    Please share relevant code – Malik Nov 01 '17 at 00:48
  • Yes, you should share your code. It looks like you're doing _something_ to your collection view's contentOffset or contentInset otherwise it wouldn't respond all all usually. – Romy Ilano Dec 09 '18 at 08:50

0 Answers0