# Can not use babylon.js in IOS13!

**URL:** <https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377>\
**Category:** Bugs\
**Tags:** gui\
**Created:** [October 15, 2019, 2:03am UTC](https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377 "2019-10-15T02:03:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![H-Whisky](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/h-whisky/32/5515_2.png) [@H-Whisky](https://forum.babylonjs.com/u/H-Whisky)\
**Post date:** [October 15, 2019, 2:03am UTC](https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377/1 "2019-10-15T02:03:12Z")

</div>

when i update my ios to 13, i can not import babylon.js,but it can work in Andriod.  
The UI framework that i used is MUI. i use “script src=”…/libs/babylon/babylon.js"\>\</script"  
“script src=”…/libs/babylon/babylon.max.js"\</script" to import babylon use “canvas id=“babylon\_canvas”\>\</canvas” in html.when i in Browser ,it shows “canvas id=“babylon\_canvas” height=“929” width=“1428” touch-action=“none” style=“touch-action: none;”\>\</canvas”  
I don’t konw where bugs happended,but it work well in Andriod.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 15, 2019, 3:41pm UTC](https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377/2 "2019-10-15T15:41:35Z")

</div>

Hello and welcome!

We are going to need more info 🙂 It works on my ios13 for all [babylonjs.com](http://babylonjs.com) demo or any playground so we will need a repro or at least the error you get on the console (you will need to debug using safari from a mac)

---

<div class="post-metadata">

**Author:** ![H-Whisky](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/h-whisky/32/5515_2.png) [@H-Whisky](https://forum.babylonjs.com/u/H-Whisky)\
**Post date:** [October 16, 2019, 9:54am UTC](https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377/4 "2019-10-16T09:54:17Z")

</div>

I got log on Andriod was “WebGL2”, and it works!

---

<div class="post-metadata">

**Author:** ![H-Whisky](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/h-whisky/32/5515_2.png) [@H-Whisky](https://forum.babylonjs.com/u/H-Whisky)\
**Post date:** [October 16, 2019, 9:55am UTC](https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377/5 "2019-10-16T09:55:28Z")

</div>

on IOS13 ,the log was:  
17:41:23.853 Babylon.js v4.0.3 - WebGL1  
17:41:23.876 IP or host change  
17:41:23.899 load car info  
17:41:23.932 BJS - [17:41:23]: Unable to load from …/scenes/highway/Highway.babylon: importScene of undefined from undefined version: undefined, exporter version: undefinedimportScene has failed JSON parse  
17:41:24.859 IP or host change  
17:41:24.880 127.0.0.1

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 16, 2019, 4:27pm UTC](https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377/6 "2019-10-16T16:27:06Z")

</div>

Hum this does not help a lot ☹  
can you repro your scene on the playground?

---

<div class="post-metadata">

**Author:** ![H-Whisky](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/h-whisky/32/5515_2.png) [@H-Whisky](https://forum.babylonjs.com/u/H-Whisky)\
**Post date:** [November 8, 2019, 9:58am UTC](https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377/7 "2019-11-08T09:58:39Z")

</div>

hello Deltakosh:  
Thanks your help! I have found the cause of the babylon 3D can’t work in IOS13.  
The cause was:IOS has two webviews: UIWebview and WKWebview. Starting with IOS 13, apple listed UIWebview as an out of date API.  
We can work well with UIWebview , but the issue came out with WKWebview, as I had posted :[Can not use babylon.js in IOS13!](https://forum.babylonjs.com/t/can-not-use-babylon-js-in-ios13/6377/5)  
It would be great help for developers who are using the babylon.js with this issue fixed!
