Posts

Post marked as solved
8 Replies
1.5k Views
Hello, I've just received the email below from App Store Connect concerning my App Store iOS sticker packs. Do you know how I can remove (or edit, or fix) the mentioned unsupported LSLaunchProhibited Info.plist key? THANK YOU! Dear Developer, Compatible iOS and iPadOS apps will automatically appear on the Mac App Store when the first Apple silicon Macs become available this year. However, we noticed the following issues with one or more of your apps that are opted in to appear. The following apps will not be made available on Mac until a new version addressing these issues is submitted. These apps contain the LSLaunchProhibited Info.plist key, which is unsupported on Mac:
Posted
by Hoshi.
Last updated
.
Post marked as solved
2 Replies
790 Views
Hello,mapkit js doesn't seem to get a lot of traction on the forum. Is this the right place to talk about it?Anyway, I am facing something very weird and I'd like to share it to try to find a solution. I am developing a website using mapkit js. I need to perform a certain action on the click (or tap) event. It works perfectly on desktop (safari, chrome and firefox), but somehow the click event doesn't fire on iphone or ipad (with safari and chrome).The code looks like that:map.element.addEventListener("click", function(event) { if (event.target.parentNode !== map.element) { // This condition prevents clicks on controls. Binding to a // secondary click is another option to prevent conflict return; } alert("click on map"); }); The double tap is triggering a zoom, so the framework is catching the taps, but somehow the tap doesn't trigger the click (all other map framework I use do). Is this a normal behavior? Is there a way to make the tap work as a click, or to catch the tap event?Thank you for help!
Posted
by Hoshi.
Last updated
.
Post not yet marked as solved
0 Replies
845 Views
Hello,I am integrating a mapkit JS map on a website. I need to use either the click or dblclick event for some custom actions, but I run into problems with both.1) click eventEverything is working fine with this code (found on this forum here https://forums.developer.apple.com/thread/109735):map.element.addEventListener("click", function(event) { if (event.target.parentNode !== map.element) { // This condition prevents clicks on controls. Binding to a // secondary click is another option to prevent conflict return; } // my code here });Only problem, it is also fired when the map is dragged. It is actually fired at the end of the drag, and the coordinate of the event corresponds to the point on the map used to perform the drag.Is there a way to create a click event which will not fire when a drag is performed?2) double click eventUsing the double click instead of a simple click is an option. However, the double click triggers a zoom. I don't want to disable all zooming capabilities through isZoomEnabled. I couldn't find any construction option dealing with the double click zoom.I tried the following to prevent the native zoom behavior but with no luck:map.element.addEventListener("dblclick", function(event) { event.preventDefault();   event.stopPropagation(); });Is there a way to disable the double click zoom without impacting the zooming via controls?Thank you for your help!
Posted
by Hoshi.
Last updated
.