[英]iphone keyboard is rotating into landscape while app setting is portrait only
[英]UITextfield not able to see text and cursor while rotating iPhone device to landscape when the keyboard is up
在UITextfield
,當鍵盤抬起時,將iPhone設備旋轉至橫向時無法看到文本和光標。
一旦我們點擊鍵盤上的返回按鈕,或者如果我們鍵入, UITextfield
的文本將不會顯示
您必須設置UITextFieldDelegate
方法,並必須設置文本框並根據要求移動它,因為當設備處於Landscope模式時,您的文本框將隱藏在鍵盤下。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.