I have a view (show below) in my storyboard. When I am typing in the stuff on the bottom the keyboard covers up what I am typing. The easiest way (I believe) to solve this would be to put everything in the view in a UIScrollView
.
Is there an easy way to move everything in that view into a scroll view? Or if you believe there is a better way to do this what is it?
For putting everything in scrollview just select all your views (hold shift and click on every view) and go to editor in toolbar of xcode select option 'Embed In', select scroll view and you are done.
To solve this issue I did something slightly similar to @paulvs to move all of the text fields into the scroll view first I made a new view controller and put a scroll view in it. Then I selected all of the text fields using command
on the keyboard and copy-pasted them into the scroll view.
Not sure if this is the most elegant way to make sure the user can see the text boxes at the bottom but it seems to have worked to move the text fields.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With