| 
					
				 | 
			
			
				@@ -116,7 +116,7 @@ public class PQLoadingHUB: NSObject { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public func showHUB(superView: UIView, isVerticality: Bool = false,lodingColor:UIColor? = nil) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public func showHUB(superView: UIView, isVerticality: Bool = false,lodingColor:UIColor? = nil,topMargin:CGFloat? = nil) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         DispatchQueue.main.async { [weak self] in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if superView.viewWithTag(self!.viewTag) == nil { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let hubW: CGFloat = 100 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -124,7 +124,7 @@ public class PQLoadingHUB: NSObject { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let supH: CGFloat = superView.frame.height 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let hubY: CGFloat = isVerticality ? ((supW - hubW) / 2) : ((supH - hubW) / 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let hubX: CGFloat = isVerticality ? ((supH - hubW) / 2) : ((supW - hubW) / 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                let loadingHUB: PQLoadingHUBView = PQLoadingHUBView(frame: CGRect(x: hubX, y: hubY, width: 100, height: 100)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                let loadingHUB: PQLoadingHUBView = PQLoadingHUBView(frame: CGRect(x: hubX, y: topMargin != nil ? topMargin ?? 0: hubY, width: 100, height: 100)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 loadingHUB.lodingColor = lodingColor 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 loadingHUB.tag = self!.viewTag 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 superView.addSubview(loadingHUB) 
			 |