Moving Background Image with custom segue swift : [I want to get moving background animation like this.][1]

1.Can anyone help me with this problem. 2.Is it possible to make this kind of animation in horizontally

  [1]: https://www.google.com/url?sa=i&url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F27848409%2Fcustom-segue-with-separate-moving-background&psig=AOvVaw3uk7bWBM2G2D1alZzP4UY9&ust=1582018785523000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCLC7qLGl2OcCFQAAAAAdAAAAABAD