     
     private func setup() {
         let size = self.frame.size
-        let center = CGPoint(x: size.width/2, y: size.height/2)
-        let radius = min(size.width/2, size.height/2)
+        let width = size.width
+        let height = size.height
+        let center = CGPoint(x: width/2, y: height/2)
+        let radius = min(width/2, height/2)
         
         let circlePath = UIBezierPath(arcCenter: center, radius: radius, startAngle: CGFloat(Double.pi * 3 / 2), endAngle: CGFloat(Double.pi * 7 / 2), clockwise: true)
         circlePath.lineCapStyle = .round
         circlePath.lineJoinStyle = .round
         
         let tickPath = UIBezierPath()
-        tickPath.move(to: CGPoint(x: center.x - radius / 2, y: center.y + radius / 4))
-        tickPath.addLine(to: CGPoint(x: center.x, y: center.y + radius / 2))
-        tickPath.addLine(to: CGPoint(x: center.x + radius / 2, y: center.y - radius / 3))
+        tickPath.move(to: CGPoint(x: width * 0.28, y: height * 0.53))
+        tickPath.addLine(to: CGPoint(x: width * 0.42, y: height * 0.66))
+        tickPath.addLine(to: CGPoint(x: width * 0.72, y: height * 0.36))
         
         circlePath.append(tickPath)
         

        hud.label.font = UIFont.systemFont(ofSize: dl_textSize)
        hud.margin = dl_contentMargin
        hud.bezelView.backgroundColor = dl_backgroundColor
        hud.hide(animated: true, afterDelay: 2)
    }
    
    /// Show failure hud with message on the view of current UIViewController

    public static var dl_failureColor: UIColor = .red
    public static var dl_successView: UIView?
    public static var dl_failureView: UIView?
    public static var dl_successDismissedDelay: TimeInterval = 2
    public static var dl_failureDismissedDelay: TimeInterval = 3
    
    /// Only show text on the view of current UIViewController.
    ///
