Problem Description
Sprite loading images dont show in iOS
Exported as Cordova with WKWebView on iOS / build in XDK
Minimum iOS 8.0+
Attach a Capx
https://www.dropbox.com/s/7wbvkr5t8qtmg56/IOS-load-Issue.capx?dl=1
Description of Capx
Simple event
System > On start of layout > Sprite > Load image from url
Steps to Reproduce Bug
Run app
Observed Result
Image dont load --loads fine in android
Tested on several iOS devices with different iOS but no image
Expected Result
Image dont load
Affected Browsers
Must be safari
Operating System and Service Pack
Windows 10 Home
Construct 2 Version ID
R244
REGARDS
Flemming
I do know that development of C2 is stopped
BUT really would like to get this working !!
So all idears are welcome ..also if anyone can confirm / try building as iOS
Thanks
Develop games in your browser. Powerful, performant & highly capable.
Urgent !! all help welcome
Simply cant figure this out and wonder why anyone else dont have the same issue
This documentation is a absolutely clean cordova export from C2 r244
Build with XDK 3759 with default plugins only
Closing as not a bug. The server does not send an Access-Control-Allow-Origin HTTP header with the image, so the server is not giving permission for any other locations to load the image.
Thanks Ashley
BUT could you help me out in how to solve it, Since I dont understand why it works in Andoid
and Direkt image url in safari .. Is it some server settings ?
R/Flemming
Read about Cross-Origin Resource Sharing.