         //1.获得文本内容
         let text = textView.emoticonText
         //2.发布微博
-        let image  = UIImage(named: "123.jpg")
+        let image  = picturePickerController.pictures.last
         NetworkTools.sharedTools.sendStatus(text,image: image) { (result, error) -> () in
             
             if error != nil {

        
    //4.工具条
    prepareToolbar()
    //输入助理视图 - 当键盘退出时toolBar会消失！
    
    
    }
    
    
    //设置导航栏
    private func prepareNavigationBar(){
    //1.左右按钮

            make.height.equalTo(44)
        }
        //3.添加按钮
        let itemSettings = [["imageName": "compose_toolbar_picture","actionName":"selectPicture"],
            ["imageName": "compose_mentionbutton_background"],
            ["imageName": "compose_trendbutton_background"],
            ["imageName": "compose_emoticonbutton_background","actionName":"selectEmoticon"],
