         case .fromBottom:
             initialFrame.origin.y = presentedFrame.size.height
         case .zoomIn(let scale):
-            break
+            controller.presentedViewController.view.transform = CGAffineTransform(scaleX: CGFloat(scale), y: CGFloat(scale))
         case .zoomOut(let scale):
-            break
+            controller.presentedViewController.view.transform = CGAffineTransform(scaleX: CGFloat(scale), y: CGFloat(scale))
         }
         
         let animationDuration = transitionDuration(using: transitionContext)
         controller.presentedViewController.view.frame = initialFrame
         UIView.animate(withDuration: animationDuration, animations: {
             controller.presentedViewController.view.frame = finalFrame
-            
-            
-            
+            controller.presentedViewController.view.transform = CGAffineTransform.identity
         }) { finished in
             transitionContext.completeTransition(finished)
         }

            
            
            kit.constraints.forEach({ (kitConstraint) in
                switch kitConstraint {
                case .center(x: let x, y: let y):
                    if let x = x {

        
        return PopKitBuilder() {
            let testView = TestView()
            $0.constraints = [.center(x: 0, y: 0), .width(300), .height(300)] // .edges(left: 0, right: 50, top: 0, bottom: 0) .center(x: 0, y: 0), .width(200), .height(200)
            $0.inAnimation = .zoomIn(0.3)
            $0.popupView = testView
        }
        
    }

    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        popkit.show()
    }
}

class TestView: UIView, PopView {
    init() {
        super.init(frame: .zero)
        backgroundColor = .white
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}

enum PopKitConstaint {
