| 
					
				 | 
			
			
				@@ -9,9 +9,11 @@ import Foundation 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import BFUIKit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import Photos 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import BFRecordScreenKit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import BFCommonKit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 class INIntrocudeController: BFBaseViewController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    let exportBtn = UIButton() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     var assets:[PHAsset]? { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         didSet{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if let ass = assets { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -25,6 +27,27 @@ class INIntrocudeController: BFBaseViewController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     override func viewWillAppear(_ animated: Bool) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         super.viewWillAppear(animated) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         showNavigation() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PQNotification.addObserver(self, selector: #selector(self.keyboardWillShow(_:)), name: UIResponder.keyboardWillShowNotification, object: nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PQNotification.addObserver(self, selector: #selector(self.keyboardWillHide(_:)), name: UIResponder.keyboardWillHideNotification, object: nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    override func viewWillDisappear(_ animated: Bool) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        super.viewWillDisappear(animated) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PQNotification.removeObserver(self) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @objc internal func keyboardWillHide(_ notification: Notification?) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        navHeadImageView?.isHidden = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @objc internal func keyboardWillShow(_ notification: Notification?) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        navHeadImageView?.isHidden = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     override func viewDidLoad() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -32,7 +55,7 @@ class INIntrocudeController: BFBaseViewController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         navHeadImageView?.backgroundColor = .clear 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         leftButton(image: nil, imageName: nil, tintColor: .white) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let exportBtn = UIButton() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         exportBtn.backgroundColor = UIColor.hexColor(hexadecimal: "#28BE67") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         exportBtn.setTitle("导出", for: .normal) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         exportBtn.addCorner(corner:4) 
			 |