 
 extension CKAlertView {
     
-    override public func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
-        super.traitCollectionDidChange(previousTraitCollection)
-        
-        if #available(iOS 9, *){
-            
-            if traitCollection.forceTouchCapability != previousTraitCollection?.forceTouchCapability {
-                
-                if traitCollection.forceTouchCapability == .available{
-                    
-                    if forceGesture == nil {
-                        //the app apparently started without 3D touch enabled, so the 3D touch gestureRecognizer was never initialized. Do this now.
-                        forceGesture = CKForceGestureRecognizer(target: self, action: #selector(handleForceGesture))
-                        containerView.addGestureRecognizer(forceGesture!)
-                    }
-                }
-            }
-        }
-    }
-    
-    
     func handleForceGesture() {
         if let forceGestureHandler = self.forceGestureBlock {
             forceGestureHandler(forceGesture)

        
        containerView.snp.makeConstraints { (make) in
            make.center.equalTo(view.snp.center)
            make.height.lessThanOrEqualTo(view.snp.height).offset(-40)
            if CKAlertView.config.isFixedContentWidth {
                make.width.equalTo(CKAlertView.config.contentWidth)
            }

        }
        
        if #available(iOS 9, *){
            forceGesture = CKForceGestureRecognizer(target: self, action: #selector(handleForceGesture))
            containerView.addGestureRecognizer(forceGesture!)
        }
        
    }
