Skip to content

Background become solid when applying translucentTintColor #6

@callzhang

Description

@callzhang

This is what I did:

  • (void)viewDidLoad
    {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    ILTranslucentView *translucentView = [[ILTranslucentView alloc] initWithFrame:CGRectMake(0, 0, 250, 150)];
    [self.view addSubview:translucentView];
    translucentView.translucentTintColor = [UIColor colorWithRed:0 green:1 blue:0 alpha:0.7];
    translucentView.backgroundColor = [UIColor clearColor];
    translucentView.translucentStyle = UIBarStyleDefault;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions