
参考 https://medium.com/@pengjin/ios-make-an-awesome-video-background-view-objective-c-swift-318e1d71d0a2
- 把video转化成GIF
- 用NSData读取GIF
- UIWebView载入NSData,并禁止滚动
- 在UIWebView上覆盖一层透明View,然后加相加的东西。
参考 https://medium.com/@pengjin/ios-make-an-awesome-video-background-view-objective-c-swift-318e1d71d0a2