[英]UITextField max inputview height
In my app I'm using an UIView
as my inputView for a UITextField
. 在我的应用程序中,我将
UIView
用作UITextField
inputView。 The UIView
height is 252. The problem is that when the textfield becomes first responder only the top 216 pixels are shown. UIView
高度为252。问题是,当文本字段成为第一响应者时,仅显示顶部的216个像素。 Is there a max height for UITextField
inputView? UITextField
inputView是否有最大高度?
是的,最大值和最小值=>文本字段的固定高度为31,您可以在xib本身中看到它-拖放
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.