     lazy var closeBtn : UIButton = {
         return self.createButton("关闭")
         }()
+    /// 保存按钮
     lazy var saveBtn : UIButton = {
         return self.createButton("保存")
     }()
+    /// 保存按钮的提示视图
+    lazy var statusView: UILabel = {
+        let label = UILabel(frame: CGRectMake(0, 0, 90, 60))
+        label.backgroundColor = UIColor(red: 0, green: 0, blue: 0, alpha: 0.4)
+        label.textColor = UIColor.whiteColor()
+        label.center = self.view.center
+        label.textAlignment = NSTextAlignment.Center
+        label.layer.cornerRadius = 10
+        label.layer.masksToBounds = true
+        return label
+    }()
+    
     /// 浏览的位置
     var index : Int?
     /// 所有frame对于主视图的位置

    /// 开始缩放的通知方法
    func didScale(noti : NSNotification){
        let scale = noti.userInfo!["scale"] as! CGFloat
        // 隐藏关闭按钮
        closeBtn.hidden = scale < dismissScale
        // 如果不需要保存按钮，会一直隐藏
        saveBtn.hidden = scale < dismissScale || !needSaveButton
        collectionView.backgroundView?.alpha = scale
    }
    /// 检查按钮

    }
    /// save
    func save(){
        // 判断是否需要进行保存
        // 根据索引计算当前浏览的图片
        var index = calculateIndex()
        let photo = self.photoes![index]
        // 获取具体图片，因为能点击肯定已经得到大图
        let image = SDWebImageManager.sharedManager().imageCache.imageFromDiskCacheForKey(photo.largeURL.absoluteString)
