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(以及其中的任何其他子视图)设置为 0.5 或其他不透明度?不确定这是否可能,但想问一下。
view.alpha = 0.5; // Doesn't it work?