0
我已經從collectionView
didselect方法這樣傳遞數據通過在swift 3中不工作的任何解決方案?
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
let dicttemp = (arrRespProduct?.object(at: indexPath.row))! as! NSDictionary
dicData = NSMutableDictionary(dictionary: dicttemp)
performSegue(withIdentifier: GlobalConstant.segueIdentofier.productDetail, sender: self)
}
但方法
func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?)
不調用快捷3傳遞的數據...任何解決方案?
@ Nirav D great right anser –