Post

Replies

Boosts

Views

Activity

Reply to mapkit js click and double click events
Is there a way to create a click event which will not fire when a drag is performed? You can use map.addEventListener("single-tap", function(e) { // your code without the target node condition }) ...instead, which will not count dragging and releasing the mouse as clicks. Note that you use map.addEventListener instead of map.element.addEventListener here, so no element as these events are from MapKit directly and no DOM events. Kinda confusing but that works :)
Jun ’24
Reply to WKWebView memory budget
Same here. My webview application is crashing with the same error and the reason seems to be that it runs out of vram. This happens at random when WebGL scenes are being loaded, sometimes it does, sometimes it does not. I am not getting a warning though. It is working fine in the mac simulator, where there probably is more vram available
Topic: Safari & Web SubTopic: General Tags:
Sep ’23
Reply to Unable to reset simulators
I experience the same issue. System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime/... contains a large 10GB image of the newest IOS version and it cannot be deleted through Xcode or through commands because it is protected by SIP.
Replies
Boosts
Views
Activity
Dec ’24
Reply to mapkit js click and double click events
Is there a way to create a click event which will not fire when a drag is performed? You can use map.addEventListener("single-tap", function(e) { // your code without the target node condition }) ...instead, which will not count dragging and releasing the mouse as clicks. Note that you use map.addEventListener instead of map.element.addEventListener here, so no element as these events are from MapKit directly and no DOM events. Kinda confusing but that works :)
Replies
Boosts
Views
Activity
Jun ’24
Reply to WKWebView memory budget
Same here. My webview application is crashing with the same error and the reason seems to be that it runs out of vram. This happens at random when WebGL scenes are being loaded, sometimes it does, sometimes it does not. I am not getting a warning though. It is working fine in the mac simulator, where there probably is more vram available
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23