Подскажите, пожалуйста, как изменить ячейку backGroundColor
из функции imagePickerController:
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
self.dismiss(animated: true, completion: nil)
//let imageUser = info[UIImagePickerController.InfoKey.editedImage] as! UIImage
let indexPath = IndexPath(item: 0, section: 0)
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "cellRegisterMarket", for: indexPath) as! cellRegisterMarket
cell.backgroundColor = .red
}