我从MS Edge页面下载了VirtualBox的IE11和IE10虚拟机。 https://dev.windows.com/en-us/microsoft-edge/tools/vms/mac/
但是zip文件似乎被打破了。解压缩命令显示:
override func viewDidLoad() {
pan = UIPanGestureRecognizer(target: self, action: "handlePan:")
self.scrollview.addGestureRecognizer(pan)
}
func handlePan(recognizer:UIPanGestureRecognizer!) {
switch recognizer.state {
case .Changed:
handlePanChanged(recognizer); break
case .Ended:
handlePanTerminated(recognizer); break
case .Cancelled:
handlePanTerminated(recognizer); break
case .Failed:
handlePanTerminated(recognizer); break
default: break
}
}
func handlePanChanged(recognizer:UIPanGestureRecognizer!) {
if let view = recognizer.view {
var translation = recognizer.translationInView(self.view)
println("moving")
view.center = CGPointMake(view.center.x, view.center.y + translation.y);
recognizer.setTranslation(CGPointZero, inView: self.view)
}
}
如何下载正确版本的虚拟机?
答案 0 :(得分:1)
文件是正确的。它们是zip64文件,您需要一个支持它的软件来解压缩它们。在下载按钮正下方的instructions,我们建议使用The Unarchiver。
来源:我是该网站的总理