1

Is it possible to set UIViewGroupOpacity (see documentation) for a single or set of views in an application? Thanks.

4

1 回答 1

0

您可以通过设置来做到这一点

view.layer.shouldRasterize = YES;
view.layer.rasterizationScale = [UIScreen mainScreen].scale;

在设置视图的 alpha 之前。

于 2013-05-02T20:50:28.540 回答