Skip to content

Commit

Permalink
Merge pull request #322 from i-colours-u/feature/#315
Browse files Browse the repository at this point in the history
[fix] 외식대처법 테이블뷰 height 계산식 수정
i-colours-u authored Oct 6, 2022
2 parents a9c5e41 + e14e405 commit 236ed38
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -148,9 +148,8 @@ extension CopingTabVC {
let screenHeight = UIScreen.main.bounds.height
let topElementsHeight = statusBarHeight + navigationBarHeight + categoryCellHeight + menuCellHeight

let estimatedMaximumHeight = screenHeight - topElementsHeight - 68
let estimatedMaximumHeight = screenHeight - topElementsHeight - 38
let tableViewHeight = copingTableViewHeight()
print("HEIEHE",estimatedMaximumHeight,tableViewHeight)
if estimatedMaximumHeight > tableViewHeight {
return tableViewHeight
} else {
@@ -177,7 +176,7 @@ extension CopingTabVC {
return calculatedHeight
}

return tableViewHeight
return tableViewHeight + 50
}
}

0 comments on commit 236ed38

Please sign in to comment.