运用tag值找view

使用tag值找viewalbumDetailController.view.frame CGRectMake((1024-600)/2,768, 600, 500)UIView *bg

使用tag值找view
    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];