i am not sure if it is a bug but i get very strange behavior.
i have a wkwebview and i am loading an image to it (and also other files)
now the thing is when i start the app and try to load the image using loadhtml() it does not load it BUT if i load before that another file or the same file with the SAME path with loadurl() it does load and then if i use loadhtml() it works.
so ONLY if the loadhtm() was first it does not work but if loadulr() came before loadhtml() it does work.
this happens only if i use file.dirdocument. from file.dirassets it works fine.
the info of Powerview says the the path is relative to file.dirassets folder but can i change it so it works also with file.dirdocuments
i have a wkwebview and i am loading an image to it (and also other files)
now the thing is when i start the app and try to load the image using loadhtml() it does not load it BUT if i load before that another file or the same file with the SAME path with loadurl() it does load and then if i use loadhtml() it works.
so ONLY if the loadhtm() was first it does not work but if loadulr() came before loadhtml() it does work.
this happens only if i use file.dirdocument. from file.dirassets it works fine.
the info of Powerview says the the path is relative to file.dirassets folder but can i change it so it works also with file.dirdocuments