Post

Replies

Boosts

Views

Activity

How to handle thousands of map annotations (+100K) in a MKMapView?
According to the MKMapview, all annotations should be added to the map: https://developer.apple.com/documentation/mapkit/mkmapview When configuring your map interface, be sure to add all of your annotation objects right away. The map view uses the coordinate data in each annotation object to determine when the corresponding annotation view needs to appear onscreen. When an annotation moves onscreen, the map view asks its delegate to create a corresponding annotation view. If your app has different types of annotations, it can define different annotation view classes to represent each type. But this has a very low performance when the map is zoomed out and all annotations are visible (although market already filters out most of the annotations and only displays a few). As fas as I've seen, the suggestion from the documentation doesn't scale properly when the number of annotations is very large. Grouping doesn't help, neither using reusable annotations. Is the only option here, handling manually the add/remove annotations as the map rect changes?
2
0
875
May ’23
Support for associated domains that are not publicly accessible
According to the WWDC2020 session "What's new in Universal Links" (10098), the "apple-app-site-association" file will be served and retrieved by an Apple's CDN instead of directly retrieved from the client. If the App has associated domains that are not publicly accessible, because they are for example only accessible using a VPN, it seems that there are only two options: using "Developer mode" or "Managed mode". Developer mode only works with apps that are signed with a developer profile. Managed mode requires consent from the MDM admin. What about apps within an Enterprise developer program but are distributed using secure internal systems rather than MDM solutions? In those cases the devices that are installing the app are not under MDM, how are they going to provide consent in order to support "managed" associated domains that can only be accessed under a VPN?
6
0
2.9k
Sep ’20