I made UIView the frame is x: UIScreen.main.bounds.size.width, y: 0, width: UIScreen.main.bounds.size.width*3, height: UIScreen.main.bounds.size.height
.
When moved to other ViewController by self.navigationController?.popViewController(animated: true)
, the left side of view is shown during screen transition.
When I set the point to x:0, y:0
, the screen transition was smooth, didn't show the left side of the view during screen transition.
So I want to cut only the left side of the view before screen transition. How can I do it in Swift?