Post

Replies

Boosts

Views

Created

how to prevernt "webViewWebContentProcessDidTerminate:"happen?
we have wkwebView page which use js bridge to launch camera to take photos. some times the "webViewWebContentProcessDidTerminate:" get called ,we have to relaod the page(it don't,the page will go blankl or unresponsive),but then the user content was lost. By my experience,this is associate with memory。at the moment we take photo,the total memory useage get high more the 10~20M high. but when I don't l;aucn the camera,it's worked well. i have question about this. how to reduce the memory useage by camera at the moment?I has already add @autoreleasepool to the take photo finish event,it's get down when finished, it has a peak but I want it keep steady。 as we know the wkwebview work in independent process,how the memory useage can affect the wk process? any other way to prevent this? please help!
Topic: Safari & Web SubTopic: General Tags:
1
0
2.3k
Dec ’22
how to prevernt "webViewWebContentProcessDidTerminate:"happen?
we have wkwebView page which use js bridge to launch camera to take photos. some times the "webViewWebContentProcessDidTerminate:" get called ,we have to relaod the page(it don't,the page will go blankl or unresponsive),but then the user content was lost. By my experience,this is associate with memory。at the moment we take photo,the total memory useage get high more the 10~20M high. but when I don't l;aucn the camera,it's worked well. i have question about this. how to reduce the memory useage by camera at the moment?I has already add @autoreleasepool to the take photo finish event,it's get down when finished, it has a peak but I want it keep steady。 as we know the wkwebview work in independent process,how the memory useage can affect the wk process? any other way to prevent this? please help!
Topic: Safari & Web SubTopic: General Tags:
Replies
1
Boosts
0
Views
2.3k
Activity
Dec ’22
iOS12 use WKURLSchemeHandler the "#5 0x00000001135602fa in -[WKURLSchemeTaskImpl dealloc] ()" raise exception
in iOS12 we use WKURLSchemeHandler to handle "http" request ,but it raise the exception here is the log if I keep the WKURLSchemeTask then the request can not be stoped,it keep loadding above iOS13.0 every thing is ok,any help?
Topic: Safari & Web SubTopic: General Tags:
Replies
1
Boosts
0
Views
910
Activity
Jun ’22