albumDetailController.view.frame = CGRectMake((1024-600)/2,768, 600, 500);
UIView *bgview = [[UIView alloc] initWithFrame:self.view.frame];
bgview.backgroundColor = [UIColor blackColor];
bgview.alpha = 0;
bgview.tag =11001;
[self.view addSubview:bgview];
UIView *view = (UIView*)[self.view viewWithTag:11001];
使用tag值找view
猜你喜欢
转载自lizhuang.iteye.com/blog/1686467
今日推荐
周排行