Half table blur
fabiosoft opened this issue · comments
Here is my code:
self.navigationController.navigationBar.translucent = YES;
tableMainForecast = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), CGRectGetHeight(self.view.bounds)) style:UITableViewStylePlain];
[self.view addSubview:tableMainForecast];
tableMainForecast.separatorStyle = UITableViewCellSeparatorStyleNone;
tableMainForecast.dataSource = self;
tableMainForecast.delegate = self;
tableMainForecast.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
tableMainForecast.separatorColor = [UIColor clearColor];
tableMainForecast.backgroundColor = [UIColor clearColor];
DKLiveBlurView *backgroundView = [[DKLiveBlurView alloc] initWithFrame: self.view.bounds];
backgroundView.originalImage = [UIImage imageNamed:@"bg1.jpg"];
backgroundView.tableView = tableMainForecast;
backgroundView.isGlassEffectOn = YES;
tableMainForecast.backgroundView = backgroundView;
How can i solve?
Most likely because of your app orientation. You should correctly handle it and resize blurred view too.