swift - ios keyboard appears or disappears problem
过去多啦不再A梦
过去多啦不再A梦 2017-06-06 09:53:33
0
1
832

The desired effect is that when the keyboard appears, the buttons and labels at the bottom will automatically move up and be above the keyboard. When the keyboard disappears, the buttons and labels will automatically return to the bottom.

I use the method of adding scrollView and then monitor the status of the keyboard, but the problem I encounter is: when the keyboard disappears, the button and label are indeed at the bottom, but when the keyboard appears, the button and label will be replaced by the keyboard. Cover. Is there any way to solve this problem? Thank you

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
我想大声告诉你

If the button and label are on the scrollView, then the scrollView scrolls up by the height of the keyboard

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!