AlanXin
#1
Hi Guys,
The following code works well on Android, but when I run it on wkwebview(IOS), it does not work.
Is there any ios configuration reason or anything else?
var lo
var loader = new THREE.STLLoader();
await loader.load( file, function ( geometry ) {
currentObj = geometry;
console.log(“call back”)
} );
Actually, I was trying the examples, all loaders did not work~~
Mugen87
#2
What you mean by that? Can you please explain in more detail what’s happening?
AlanXin
#3
I mean I cannot get the geometry, cannot console the “call back”. The load call back function doesn’t give me the call back response
Mugen87
#4
Okay, so onLoad()
is not fired. Do you see any errors if you add an onError()
callback to your load()
call?