         switch indexPath.section {
 
         case 0:
-            /*
-            let openCameraRoll: ProposerAction = { [weak self] in
-                if UIImagePickerController.isSourceTypeAvailable(UIImagePickerControllerSourceType.PhotoLibrary) {
-                    if let strongSelf = self {
-                        strongSelf.imagePicker.sourceType = .SavedPhotosAlbum
-                        strongSelf.presentViewController(strongSelf.imagePicker, animated: true, completion: nil)
-                    }
-                }
-            }
-
-            proposeToAccess(.Photos, agreed: openCameraRoll, rejected: { [weak self] in
-                self?.alertCanNotAccessCameraRoll()
-            })
-            */
-
             proposeToAccess(.Photos, agreed: { [weak self] in
                 self?.performSegueWithIdentifier("showPickPhotos", sender: nil)
 

    }
}

extension NewFeedViewController: UIImagePickerControllerDelegate, UINavigationControllerDelegate {

    func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : AnyObject]) {

        if let mediaType = info[UIImagePickerControllerMediaType] as? String {

            if mediaType == (kUTTypeImage as String) {

                if let image = info[UIImagePickerControllerOriginalImage] as? UIImage {

                    let imageWidth = image.size.width
                    let imageHeight = image.size.height

                    let fixedImageWidth: CGFloat
                    let fixedImageHeight: CGFloat

                    if imageWidth > imageHeight {
                        fixedImageWidth = min(imageWidth, YepConfig.Media.imageWidth)
                        fixedImageHeight = imageHeight * (fixedImageWidth / imageWidth)
                    } else {
                        fixedImageHeight = min(imageHeight, YepConfig.Media.imageHeight)
                        fixedImageWidth = imageWidth * (fixedImageHeight / imageHeight)
                    }

                    let fixedSize = CGSize(width: fixedImageWidth, height: fixedImageHeight)

                    // resize to smaller, not need fixRotation

                    if let fixedImage = image.resizeToSize(fixedSize, withInterpolationQuality: CGInterpolationQuality.Medium) {
                        mediaImages.append(fixedImage)
                    }
                }
            }
        }
        
        dismissViewControllerAnimated(true, completion: nil)
    }
}


    @IBOutlet weak var messageTextView: UITextView!
    @IBOutlet weak var mediaCollectionView: UICollectionView!

    var imageAssetSet: Set<PHAsset>?

    var mediaImages = [UIImage]() {
