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.
我正在尝试使 UIView 在条款和条件屏幕上显示为圆角框,如此处所示
当我将 UIView 添加到 xib IB 时,UIView 不显示。但是,如果我将 UIButton 添加到视图中,那么我会看到该视图。如何使 UIView 始终对指定的帧大小可见?
问题是我没有将视图连接到控制器。