I have a UICollectionView. It is filled with cells which include an image view and a label.
When one taps on a cell the text just disappears. How can I stop this from happening?
Extra information:
The collection view is within a container connected to a baseVC.
Cells and most of their content are added in its xib file. Everything shows up correctly. Expect when tapping, where text disappears and then reappears.
Also note that the label does not disappear, only the text.
The custom text is added when calling a cells: func setup(profImage: String, contentView: String, titleLabel: String, subtitleLabel: String) and even when disabling the text from being added the default labels still disapear on tap.
from Why is text on a UICollectionViewCell disappearing when tapped on?
No comments:
Post a Comment