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.
我有一个从 NSView 继承的视图
view.layer.borderWidth = 1.0; view.layer.borderColor = redColor;
然后,创建另一个视图覆盖它,但视图下的边框仍然可见,为什么?