使用xib创建button点击不响应
原因:使用xib创建GoodsCollectionViewCell
在cell上添加view
在View上提那家button
虽然GoodsCollectionViewCell和button的User interaction Enabled都是yes,但view的User interaction Enabled不是,阻隔了交互向子空间button的传递
使用xib创建button点击不响应
原因:使用xib创建GoodsCollectionViewCell
在cell上添加view
在View上提那家button
虽然GoodsCollectionViewCell和button的User interaction Enabled都是yes,但view的User interaction Enabled不是,阻隔了交互向子空间button的传递