xcode - 表格 View 中水平放置两个标签?

标签 xcode uitableview uilabel interface-builder

enter image description here

我想在我的表格 View 中有两个标签。 但标签调整大小选项被禁用。 如何让两个标签水平排列?

最佳答案

选择 UIlabel 而不是单元格,然后您可以设置自动调整大小,如下所示。

enter image description here

关于xcode - 表格 View 中水平放置两个标签?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49877689/

相关文章:

ios - 如何将 Coronasdk 文件导入 xCode?

swift - 如何更新 NSDiffableDataSourceSnapshot 项目

ios - UILabel 文本自定义

ios - 只有在归档时没有这样的模块

ios - iOS 设备构建成功,但 iOS 模拟器构建错误(获取其他链接器标志错误)

iphone - 分组 UITableView 行动画怪癖

xcode - 使用 UITableViews 跨应用程序使用 ADBannerView 的共享实例

使用 sizeWithFont :constrainedToSize:lineBreakMode: deprecated in iOS7 调整 UILabel 的大小

ios - 为什么应用程序在使用 MFMailComposeViewController 发送消息后无法将 UILabel 显示为肯定结果

xcodebuild:找到输出应用程序文件的位置