swift - 文本字段未显示在 Storyboard中?

标签 swift storyboard

嗨,我是开发 ios 应用程序的新手。我遇到了问题,我无法在 Storyboard中看到 UItextFields。但是,在构建项目并运行到 ios 设备时,它工作正常。在 IOS 移动设备中,所有文本字段都可见。请找到下面给出的屏幕截图。

enter image description here

最佳答案

什么是天空 float 标签文本字段?显然,该组件不支持渲染到 Interface Builder。它应该是@IBDesignable 类。尝试使用普通的 UITextField,您将在 Storyboard 中看到它。

关于swift - 文本字段未显示在 Storyboard中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38912299/

相关文章:

ios - Storyboard中设置的白色和 UIColor.whiteColor() 之间有什么区别?

iOS - 更改子类 UIView 的 subview 的框架(使用启用自动布局的 Storyboard)

ios - UICollectionView 显示与所选单元格相关的图像

iOS 音频视频自定义消息

swift - 尝试编辑 Realm 中的列表

swift - makeFirstResponder : does not always take cursor

ios - 二进制拒绝 - Interface.plist 上的接口(interface)错误 - Watch App

ios - 想要放松以查看 Controller ,但退出按钮不会突出显示,在 Storyboard 中连接

ios - 无法将界面从 UIViewController 传输到 Table View(Outlet 无法连接到重复内容)

swift - firebase .indexOn 警告与 autoId