swift - Cannot select UICollectionView Cell when Highlighting is set to false -
i've been battling while. core issue cells in uicollectionview disappearing when highlighted. have no need highlighting on app, selecting, i've set:
func collectionview(collectionview: uicollectionview, shouldhighlightitematindexpath indexpath: nsindexpath) -> bool { return false }
which means i'm not getting highlight callbacks, or undesired behaviour, i'm no longer able select items, when setting:
func collectionview(collectionview: uicollectionview, shouldhighlightitematindexpath indexpath: nsindexpath) -> bool { return true }
didselectitematindexpath not getting called.
am missing flag or something?
any appreciated!