func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
imagePicker.allowsEditing = false
imagePicker.sourceType = .PhotoLibrary
self.presentViewController(imagePicker, animated: true, completion: nil)
}
// func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : AnyObject]) {
// picker .dismissViewControllerAnimated(true, completion: nil)
// }
func imagePickerController(picker: UIImagePickerController, didFinishPickingImage image: UIImage, editingInfo: [String : AnyObject]?) {
}
上單擊單元格,即時通訊能夠打開庫,我需要保存按下的圖像,並在單元格中顯示它,任何幫助嗎?顯示圖像到細胞中collectionViews
有在迅速聯繫嗎?因爲這是在目標c –
我更新了我的答案,檢查。 – Meet