             case 3:
                 cell.textLabel?.text = "打分支持"
             case 4:
-                cell.textLabel?.text = "版本升级"
-            case 5:
+//                cell.textLabel?.text = "版本升级"
+//            case 5:
                 cell.textLabel?.text = "退出账号"
             default:
                 break

        case 0:
            return 1
        case 1:
            return 6
        default:
            return 0
        }

                let URLString = "https://itunes.apple.com/cn/app/hai-chong-chong-wu/id918809824?l=zh&ls=1&mt=8"
                UIApplication.sharedApplication().openURL(NSURL(string: URLString)!)
            case 4:
//                // 版本升级
//                let URLString = "http://itunes.apple.com/cn/lookup?id=918809824"
//                if let URL = NSURL(string: URLString) {
//                    if let jsonData = NSData(contentsOfURL: URL) {
//                        if let jsonObject = NSJSONSerialization.JSONObjectWithData(jsonData, options: NSJSONReadingOptions(0), error: nil) as? [String: AnyObject] {
//                            if let version = (((jsonObject["results"] as? NSArray)?[0] as? NSDictionary)?["version"] as? String) {
//                                if let localVersion = NSBundle.mainBundle().infoDictionary?["CFBundleShortVersionString"] as? String {
//                                    let remoteSep = version.componentsSeparatedByString(".")
//                                    let localSep = localVersion.componentsSeparatedByString(".")
//                                    if remoteSep.first?.toInt() > localSep.first?.toInt() {
//                                        // 有升级版
//                                        let URLString = "https://itunes.apple.com/cn/app/hai-chong-chong-wu/id918809824?l=zh&ls=1&mt=8"
//                                        UIApplication.sharedApplication().openURL(NSURL(string: URLString)!)
//                                        break
//                                    } else if (remoteSep[0].toInt() == localSep[0].toInt()) && (remoteSep[1].toInt() > localSep[1].toInt()) {
//                                        // 有升级版
//                                        let URLString = "https://itunes.apple.com/cn/app/hai-chong-chong-wu/id918809824?l=zh&ls=1&mt=8"
//                                        UIApplication.sharedApplication().openURL(NSURL(string: URLString)!)
//                                        break
//                                    }
//                                }
//                            }
//                        }
//                    }
//                }
//                alert("没有更新的版本哦～")
//            case 5:
                // 退出账号
                let alertView = UIAlertView(title: "", message: "您确定要退出吗", delegate: self, cancelButtonTitle: "确定", otherButtonTitles: "取消")
                alertView.tag = 3000
