Getting button action : UICollectionView Cell
I have created a UICollectionViewCell by nib and added a button inside it and created a .h and .m files added the class to the nibs file's owner .then wrote a button action in the .m connected it via outlet. The collection view is populating fine ,but cannot get the buton action triggered. I think the delegate for collection cell is called. How can i get the button action? I had this problem as well. No subviews would receive touch events. While Scott K's workaround does work, I still felt something was wrong. So I took another look at my nib, and noticed that the original subview I used to