Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 xcode7.3.1 中使用 swift。在我的 xib 文件中添加了显示分隔线的选择器视图,如下面的屏幕截图
但是当我在模拟器中运行应用程序时,缺少分隔线,如下图所示。
如何解决这个问题。请帮助我
正如 Bhavin Ramani 在评论中回答的那样:
将您的模拟器比例设置为 100%。它应该显示两条线。在模拟器顶部菜单窗口 > 缩放 > 100%