Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

iOS 10 issue with section titles #11

Open
chriscombs opened this issue Oct 20, 2016 · 1 comment
Open

iOS 10 issue with section titles #11

chriscombs opened this issue Oct 20, 2016 · 1 comment
Labels

Comments

@chriscombs
Copy link
Contributor

Seems like on iOS 10, if you give a Section a title, it is assigned to the default titleLabel of the cell, even if you have a custom header configurator set. This can lead to overlapping labels if you have a custom title label and aren't using the default one.

@chriscombs chriscombs added the bug label Oct 20, 2016
@mariusc
Copy link
Contributor

mariusc commented Jun 16, 2017

This seems to be an iOS 10 bug. I fixed it in a project by adding the following line in the headerConfigurator closure:

headerView.textLabel?.isHidden = true

We could do that in Sourcery, but I'm not sure that always hiding the default textLabel in the header is a good idea.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants