                         self.maskContentView = nil
                         self.imageView = nil
                         transitionContext.completeTransition(true)
+                        toImageView.hidden = false
+                        fromImageView.hidden = false
                     })
                 }
             }

                    self.config.toImageView = nil
                    containView.addSubview(toView)
                    transitionContext.completeTransition(true)
                    //Animation phase 2,change transform to default,clear shadow
                }


            
            let fromImageView = self.config.fromImageView
            let toImageView = self.config.toImageView!
            fromImageView.hidden = true
            toImageView.hidden = true
            let adjustFromRect = fromImageView.convertRect(fromImageView.bounds, toView: containView)
            let adjustToRect = toImageView.convertRect(toImageView.bounds, toView: containView)
            imageView = UIImageView(frame:adjustToRect)
