Post

Replies

Boosts

Views

Activity

Reply to Load edited local file in WKWebView
There is a reload method on the wkwebview, which might be a worst case option.It strikes me that you have a caching issue though.I don't see a really good option in the WKWebsiteDataStore.The NSURLRequest method has some caching options, but I'm not positive it works with file url's. I haven't done much with local files in a while.
Feb ’20
Reply to osx cocoa WKWebview app: Not Load http://
Apple by default disables http from apps as a security measure.You should be able to enable it in your info.plistSee:https://developer.apple.com/documentation/bundleresources/information_property_list/nsapptransportsecurity/nsallowsarbitraryloadsBe sure to take note of the requirement to justify using http requests if your app is going to be made available through the app store.
Feb ’20
Reply to simulator does't shows exact replica of the actual device.
Images don't show in this forum...For Best Results - Read the Labelhttps://forums.developer.apple.com/thread/97547You need to upload the image to another site and include a link to it.You should probably post the link with a space in it to avoid it going into moderation...For instance...htt ps://link...You may also need to paste it into a text editor and make that change prior to pasting it here since once the forum becomes aware of it being a link, it could still go into moderation.
Feb ’20
Reply to Debug code in Share extension
In my mind, not stopping at breakpoints makes sense.The app you are testing it with was built in release mode and wouldn't support debugging.I could also see that creating a potential security issue allowing debugging in that situation.You might be able to use the system logging to help understand what is going on.There is information on viewing the logs atapple.stackexchange.com/questions/165100/how-to-read-iphone-system-logsDocumentation on logging is athttps://developer.apple.com/documentation/os/logging
Jan ’20
Reply to Diagnosing poor build performance
In my mind a ram disk would potentially be self defeating in that it takes memory that could be used more directly for processing and uses it through code simulating a disk drive with the overhead of the file system. There should already be caching of disk content to ram in what is likely a more efficient manner.I would expect allowing more parallel operations would, up to a point, increase the overall speed of compiling.Utimately the speed matters only to the extent it matters for you. If you are having to sit and wait the extra time then that can matter since time is money after all.
Jan ’20