view加阴影

        imgView.layer.shadowColor = [UIColor blackColor].CGColor;

        imgView.layer.shadowOffset = CGSizeMake(0, 0);

        imgView.layer.shadowOpacity = 0.5;

        imgView.layer.shadowRadius = 1;

你可能感兴趣的:(shadow,阴影)