Skip to content

Commit

Permalink
update tableview section
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonHu committed May 23, 2022
1 parent 7d60202 commit b59fc89
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

example/.DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions pod/vc/ZXFileBrowserVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ class ZXFileBrowserVC: UIViewController {

lazy var mTableView: UITableView = {
let tTableView = UITableView(frame: CGRect.zero, style: UITableView.Style.grouped)
if #available(iOS 15.0, *) {
tTableView.sectionHeaderTopPadding = 0
}
tTableView.estimatedSectionHeaderHeight = 0
tTableView.estimatedSectionFooterHeight = 0
tTableView.rowHeight = 60
tTableView.estimatedRowHeight = 60
tTableView.backgroundColor = UIColor.clear
Expand Down

0 comments on commit b59fc89

Please sign in to comment.