     }
     
     
+    func save(){
+        
+        
+        
+    }
+    
+    
     ///设置主界面
     func setUpUI(){
         view.addSubview(textView)
         textView.frame = view.frame
-        textView.addSubview(collectionView)
-        collectionView.snp_makeConstraints { (make) -> Void in
-            make.center.equalTo(textView.snp_center)
-            make.width.equalTo(ScreenW - 2*albumMargin)
-            make.height.equalTo(collectionView.snp_width)
-        }
+//        textView.addSubview(collectionView)
+//        collectionView.snp_makeConstraints { (make) -> Void in
+//            make.center.equalTo(textView.snp_center)
+//            make.width.equalTo(ScreenW - 2*albumMargin)
+//            make.height.equalTo(collectionView.snp_width)
+//        }
         // print(collectionView.frame)
         
     }

        }
        
    }

    
    
    ///测试键盘的inputView

        
        if picker.sourceType == .PhotoLibrary{
            //创建一个数组,存储选择的照片
           // collectionView.appendImage(image)
            
            
        }
