// 检测设备旋转方向
NotificationCenter.default.addObserver(self, selector: #selector(receivedRotation), name: .UIDeviceOrientationDidChange, object: nil)
//通知监听触发的方法
func receivedRotation(){
sv.contentSize = CGSize(width: self.view.bounds.width, height: self.view.bounds.height*4.25)
}