摘要:
对图层的操作:1.给图层添加背景图片:myView.layer.contents= (id)[UIImageimageNamed:@"view_BG.png"].CGImage;2.将图层的边框设置为圆脚myWebView.layer.cornerRadius=8;myWebView.layer.masksToBounds=YES;3.给图层添加一个有色边框myWebView.layer.borderWidth=5;myWebView.layer.borderColor= [[UIColorcolorWithRed:0.52green:0.09blue:0.07alpha: 阅读全文
posted @ 2011-04-25 17:48
英怀
阅读(531)
评论(0)
推荐(0)

浙公网安备 33010602011771号