WkWebView does not allow PUT method in iOS devices

2019-07-23 15:25发布

问题:

Earlier I was using UIWebViewEngine in my ionic 3 projects but this was resulting in slow scrolling of list in iOS devices. After going through http://jayantpaliwal.com/2017/07/tips-for-ionic-app-to-perform-better-in-ios/ I changed UIWebViewEngine to WkWebViewEngine, my scrolling issue got fixed, but now a new issue has raised. When performing a PUT request from an iOS device my server is giving "Method PUT is not allowed by access-control-allow-methods" but this is working fine in android device.

When I roll back to UIWebViewEngine, it is working fine but scrolling issue raised again.

Please suggest your solutions. Do we have do configuration in backed OR frontend