|
@@ -478,11 +478,6 @@ class PQStuckPointPublicController: PQBaseViewController {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- var isTestSaveFailed = false
|
|
|
- override func rightBtnClick(sender:UIButton){
|
|
|
- isTestSaveFailed = true
|
|
|
- }
|
|
|
|
|
|
override func viewDidLoad() {
|
|
|
super.viewDidLoad()
|
|
@@ -490,8 +485,6 @@ class PQStuckPointPublicController: PQBaseViewController {
|
|
|
addNotification(self, selector: #selector(uploadSuccess(notify:)), name: cUploadSuccessKey, object: nil)
|
|
|
PQNotification.addObserver(self, selector: #selector(didBecomeActiveNotification), name: UIApplication.didBecomeActiveNotification, object: nil)
|
|
|
leftButton(image: nil, tintColor: PQBFConfig.shared.styleTitleColor)
|
|
|
- // Test
|
|
|
- rightButtonItem(image: nil, title: "TestSave失败")
|
|
|
navHeadImageView?.backgroundColor = UIColor.clear
|
|
|
lineView?.removeFromSuperview()
|
|
|
view.addSubview(bgTopView)
|
|
@@ -967,7 +960,7 @@ extension PQStuckPointPublicController {
|
|
|
/// - Returns: <#description#>
|
|
|
func saveStuckPointVideo() {
|
|
|
|
|
|
- if(saveMovieLocalURL == nil || isTestSaveFailed){
|
|
|
+ if(saveMovieLocalURL == nil){
|
|
|
BFLog(message: "保存相册的视频导出地址无效!!!")
|
|
|
saveVideoTipsLabel.text = "视频保存失败"
|
|
|
saveRetryBtn.isHidden = false
|
|
@@ -1445,7 +1438,6 @@ extension PQStuckPointPublicController {
|
|
|
case 97:
|
|
|
saveRetryBtn.isHidden = true
|
|
|
saveVideoTipsLabel.text = "视频保存中..."
|
|
|
- isTestSaveFailed = false
|
|
|
self.saveStuckPointVideo()
|
|
|
default:
|
|
|
break
|