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.
我是 Objective-c 的前端开发人员。我正在使用 CALayer,想知道是否有办法隐藏 CALayer 的溢出。类似于溢出:隐藏在 CSS 中。
myView.layer.masksToBounds = YES;