开发者

Cocoa touch dimming background darker

Hey! I am making an app with a slider which slides out from the bottom and I would like to make other parts of开发者_如何学C the app a bit darker to show that the picker is the active component, like when alertbox comes, the background darkens. How do archieve this?


Overlay the elements you want to darken with a view that has a semi-transparent dark background (e.g. a black background with an alpha value of 0.5).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜