作者:假装坚持-我很不爽_547 | 来源:互联网 | 2023-05-17 20:55
TryingtofindoptionstoaddconstraintstoaUITextFieldthatareinatablecellrow.Imtrying
Trying to find options to add constraints to a UITextField
that are in a table cell row. I'm trying to keep both of them 50% of the width and/either (pinned to the left right edges).
尝试查找将约束添加到表单元格行中的UITextField的选项。我试图将它们两者保持50%的宽度和/或(固定在左右边缘)。
Not sure what constraints to add to achieve it in the Interface builder. Please advise.
不确定要在“接口”构建器中添加哪些约束来实现它。请指教。
Edit.
After following steps, few more things to go. Widths of the textfields are not 50% of the available space in the cell, how to achieve that?
按照以下步骤完成后,还有一些事情要做。文本字段的宽度不是单元格中可用空间的50%,如何实现?
1 个解决方案