重现步骤:1. 使用ide 2.2.0以上的版本编译实例项目,这里用的2.4.0beta ide版本 和2.4.0beta2 库文件,之前在2.3.0ide版本中也是同样的问题,在GameControl onEnable中执行如下代码:[code]private _sp = new Laya.Sprite();
private _testMask() {
this._sp.graphics.clear();
this._sp.graphics.drawCircle(100, 100, 50, '#ffffff');
Laya.timer.once(3000, this, () => {
this.img.mask = this._sp;
})
}[/code][size=14]之后编译项目[/size]
2. 使用iphone手机的safari扫码功能运行项目
3秒中之后必现黑屏
手机型号: iphone 6s 系统 13.1.3
使用qq浏览器扫码一样的结果,应该是ios环境浏览器都会这样
附件:
TestV24.zip