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; }
This is what I did:
{
[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;
}