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!


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -