cconstable / LocationPickerView

MKMapView + UITableView + Parallax scrolling. Provides a framework for building an interactive location picker on iOS.
MIT License
223 stars 46 forks source link

IOS 11 bug : UIView hide tableView when did expend #24

Open LaurineB opened 7 years ago

LaurineB commented 7 years ago

capture d ecran 2017-08-22 a 09 21 57

When the tableview did expend, an UIView hide the table view till bottom of the screen.

LaurineB commented 7 years ago

resolved, the background set with insertSubviews is in front of the cells in IOS11 beta 7. I commented this lines : Line 160-168 :

if (!self.backgroundView) {
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0.0, self.defaultMapHeight,
                                                            self.tableView.frame.size.width,
                                                            self.tableView.frame.size.height - self.defaultMapHeight)];
    view.backgroundColor = self.backgroundViewColor;
    self.backgroundView = view;
    self.backgroundView.userInteractionEnabled=NO;
    [self.tableView insertSubview:self.backgroundView atIndex:0];
}