I'm trying to set the background image of a UIView with animated .gif's that I'm pulling form Giphy. 

The problem I'm having is that the UIView is stretching the image. I want to fill the background so the height is 100% and have it centered. So left and right of the .gif would be cut off - but the image would be centered on the screen and not stretched. 

[Here's](http://imgur.com/RLv4VjQ) a screenshot of what it looks like now.

You can see it's fills height correct but it's shrinking the width of the image to match the UIView dimensions making it look stretched. 

Here is the code I have now:

```
override func viewDidAppear(animated: Bool) {
    self.giphyBackground(Title: "dancing") { [weak self] (gifUrl) -> Void in
        let gifView = FLAnimatedImageView(frame: self!.giphy.frame)
        gifView.animatedImage = FLAnimatedImage(animatedGIFData: NSData(contentsOfURL: NSURL(string: gifUrl)!)!)
        self?.view.insertSubview(gifView, aboveSubview: self!.giphy)
    }
}

```

Any ideas