I have a view controller with a tableview in it. Pulling down on the tableview expands the navigationbar as expected but the bottom hair line flickers. Has anyone faced this problem before?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- SwiftUI: UIImage (QRCode) does not load after call
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Using if let syntax in switch statement
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Enum with associated value conforming to CaseItera
- Swift - hide pickerView after value selected
- Is there a Github markdown language identifier for
UITableView
's content (cells, header) are clipped to bounds.The easiest possible solution will be simply set self.tableView.separatorColor = UIColor.clear & add a label(identical to seprator line)inside your tableview cell or header.
If you are using storyboard and have a embedded UINavigationController then just un-check Translucent property from attribute inspector.
Find the source of the dark gray color and change it to UIColor.clear
I would guess it's the background color of the top UIView and as it expands and contracts its size, there's a 0.5px delay every few pixels.
It's hard to tell without seeing your code.
removing navigationBar.barTintColor custom color, fix in my app (pay attention, do not set barTintColor to .clear, don't custom tintColor)
Try Insert "self.view.layoutSubviews()" in your tableView code.