iOS 26: Maps share sheet no longer provides com.apple.mapkit.map-item and only shares short maps.apple/p/... URLs (how to get coordinates?)

Since iOS 26, the Apple Maps share sheet no longer provides a com.apple.mapkit.map-item attachment when sharing a location to my Share Extension.

Additionally, on real devices the shared URL is now a short link (https://maps.apple/p/...), which does not contain coordinates. On the simulator, the URL still includes coordinates (as in previous iOS versions).

I'm trying to find the official or recommended way to extract coordinates from these new short URLs.

Environment:

Devices: iPhone (real device) on iOS 26.0 / 26.0.1

Simulator: iOS 26.0 / 26.0.1 simulator (behaves like iOS 18 — see below)

App: Share Extension invoked from Apple Maps -> Share -> my app

Xcode: 26.0.1

Steps to Reproduce

Open Apple Maps on iOS 26 (real device). Pick a POI (store/restaurant). Share -> choose my share extension.

iOS 18 and earlier

(lldb) po extensionContext?.inputItems
▿ Optional<Array<Any>>
  ▿ some : 1 element
    - 0 : <NSExtensionItem: 0x60000000c5d0> - userInfo: {
    NSExtensionItemAttachmentsKey =     (
        "<NSItemProvider: 0x600002930d20> {types = (\"public.plain-text\")}",
        "<NSItemProvider: 0x600002930c40> {types = (\"com.apple.mapkit.map-item\")}",
        "<NSItemProvider: 0x600002930bd0> {types = (\"public.url\")}"
    );
}

Typical URL: https://maps.apple.com/place?address=Apple%20Inc.,%201%20Apple%20Park%20Way,%20Cupertino,%20CA%2095014,%20United%20States&coordinate=37.334859,-122.009040&name=Apple%20Park&place-id=I7C250D2CDCB364A&map=explore

iOS 26

(lldb) po extensionContext?.inputItems
▿ 1 element
  - 0 : <NSExtensionItem: 0x6000000058d0> - userInfo: {
    NSExtensionItemAttachmentsKey =     (
        "<NSItemProvider: 0x600002900b60> {types = (\"public.url\")}",
        "<NSItemProvider: 0x600002900fc0> {types = (\"public.plain-text\")}"
    );
}

URL looks like: https://maps.apple/p/U8rE9v8n8iVZjr

On simulator iOS 26 same missing map-item provider - but the URL is still long and contains coordinates, like this: https://maps.apple.com/place?coordinate=37.334859,-122.009040&name=Apple%20Park&..

Issue

The short URLs (maps.apple/p/...) cannot be resolved directly - following redirects ends with:

https://maps.apple.com/unsupported

The only way I've found to get coordinates is to intercept intermediate redirects - one of them contains the expanded URL with coordinate=....

Example of my current workaround:

final class RedirectSniffer: NSObject, URLSessionTaskDelegate {
    private(set) var redirects: [URL] = []

    func urlSession(_ session: URLSession,
                    task: URLSessionTask,
                    willPerformHTTPRedirection response: HTTPURLResponse,
                    newRequest request: URLRequest) async -> URLRequest? {
        if let url = request.url {
            redirects.append(url)
        }
        return request
    }
}

Then I look through redirects to find a URL containing "coordinate=". This works, but feels unreliable and undocumented.

Questions

  1. Was the removal of com.apple.mapkit.map-item from the Maps share payload intentional in iOS 26?

If yes, is there a new attachment type or API to obtain an MKMapItem?

  1. What’s the official or supported way to resolve https://maps.apple/p/... to coordinates?

Is there any MapKit API or documented URL scheme for this? Is intercepting redirect chains the only option for now?

  1. Why does the iOS 26 simulator still return coordinate URLs, while real devices don't?

I'm looking into this for you, but I don't have info to share just yet. I'll post here once I do.

— Ed Ford,  DTS Engineer

We made a change this is rolling out, so that you'll begin to see the payloads you were using in the past through your Share extension over the next day.

While the original details are returning to mitigate impacts to your app, it would be helpful for us to know the complete set of parameters you are parsing out of the URL, so we understand what data you're looking for when a place is shared to your app from Apple Maps. The URL is not intended to be a structured API or parsed out like this, and so I'd appreciate if you could create an enhancement request in Feedback Assistant for a representation of what you need that doesn't require parsing the URL like this. Please post the FB number here so I can follow-up on it internally.

— Ed Ford,  DTS Engineer

iOS 26: Maps share sheet no longer provides com.apple.mapkit.map-item and only shares short maps.apple/p/... URLs (how to get coordinates?)
 
 
Q