iOS 10 GM with xcode 8 GM causes views to disappear due to roundedCorners & clipsToBounds

后端 未结 6 895
臣服心动
臣服心动 2020-12-03 04:23

I tested my app with iOS 10 Beta 7 and Xcode 8 beta and everything worked fine. However just a few minutes ago I installed the now available GM releases of both and faced a

6条回答
  •  无人及你
    2020-12-03 05:13

    cornerRadius itself works just fine but the size on the frame is reported incorrectly. which is why layoutIfNeeded fixes the issue.

提交回复
热议问题