How To Stop Keyboard On iPad From Squishing View

I've noticed in some of the playgrounds on my iPad (Hello Byte, Code Machine etc...) that when the keyboard comes up it comes up OVER the view whereas in mine it pushes and squishes the live view area to the top. Is there an obvious solution to this that I'm missing out on? Cheers.

Accepted Reply

It looks like the issue is ONLY for playgrounds but not for playgroundbooks. Seems the only feasible solution is to convert to a playground book. Playground books for reference: https://developer.apple.com/documentation/swift_playgrounds/creating_and_running_a_playground_book

Replies

Same problem here, I want to display an alert with a text field, but, the view resizes and the alert is shown terribly.

For me it's when a user clicks in the playground to interact with the parameters for the objects before running. This seems like a silly issue but is becoming a serious worry as the deadline is closing in. I also have a collection view at the bottom of my screen that goes absolutely bonkers if the playground is stopped and restarted even though the view area has not changed.

It looks like the issue is ONLY for playgrounds but not for playgroundbooks. Seems the only feasible solution is to convert to a playground book. Playground books for reference: https://developer.apple.com/documentation/swift_playgrounds/creating_and_running_a_playground_book