项目BUG记录

1.解决tableview刷新单元格时滚动问题

  //关闭tableview预估高度防止出现位置偏移
    UITableView.appearance.estimatedRowHeight = 0;
    UITableView.appearance.estimatedSectionFooterHeight = 0;
    UITableView.appearance.estimatedSectionHeaderHeight = 0;

2.设置按钮事件互斥

    [[UIButton appearance] setExclusiveTouch:YES];

3.首页侧滑卡死

- (void)viewDidDisappear:(BOOL)animated {
    //打开侧滑返回
    if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
        self.navigationController.interactivePopGestureRecognizer.enabled = YES;
    }
}

- (void)viewDidAppear:(BOOL)animated{
    //首页关闭侧滑返回
    if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
        self.navigationController.interactivePopGestureRecognizer.enabled = NO;
    }
}

4.屏幕未铺满
对应机型LaunchImage是否配置

你可能感兴趣的:(项目BUG记录)