1

I am creating an iOS application with Objective-C.

In summary, iTunes moved html, css, javascript files to iPad with folders.

Previously it was displayed in UIWebView, but I made it to WKWebView again. Then, a problem has occurred!

Only css and javascript written outside of html are not loaded. The css and javascript code written in html are executed.

Reading was done as follows.

func loadFileURL(URL, allowingReadAccessTo: URL)

Since all the external files are local, ATS has no problem.

Also, it can display correctly on the simulator. The problem occurs only in the iPad terminal at hand.

The environment I used is below. · MacOS High Sierra 10.13.4 · Xcode 9.3 (9E145) · IPad Air (iOS 11.2.6)

People who understand the solution, seeking those who are cognizant of the cause!

salud
  • 103
  • 1
  • 1
  • 8

0 Answers0