View = [[UIView alloc]initWithFrame:self.view.bounds];
View.backgroundColor = [RGB(192, 192, 192) colorWithAlphaComponent:0.7]; //这个是单独设置view的透明度.不影响它的对象;
如果设置 View.alpha = 0.5;这个全局透明.所以我们不用这个//
View.hidden = YES;
[self.view addSubview:View];
/下面直接在上面加东西就可以了
UIImageView * imageview = [[UIImageView alloc]initWithFrame:Rect(30, (kScreenHeight-200)/2,kScreenWidth-60, 162)];
imageview.layer.masksToBounds = YES; //没这句话它圆不起来
imageview.layer.cornerRadius = 8.0; //设置图片圆角的尺度
imageview.backgroundColor = [UIColor whiteColor];
imageview.userInteractionEnabled = YES;
[View addSubview:imageview];