UIModelPrestationFormSheet in that i've 2textfields in that i want to type somthing in the 2nd textfield but textfield hides behinds the keyboard-->http://i.stack.imgur.com/Chdv3.png while i tap the 2nd textfield the keyboard gets hided>>>http://i.stack.imgur.com/0RR0v.png

2Textfield in formsheet in that 2nd textfield gets hided by keyboard

while i tap the 2nd textfield the keyboard gets hided

有帮助吗?

解决方案

check this tutorial from Apple documentations
https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html
Look for

Moving Content That Is Located Under the Keyboard

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top