NSImage with SVG support - official?

I just tried on macOS 14.0 Sonoma to load SVG and it works. There is no parity on iOS17. Is this officially supported and documented?

let xmlSVGImage = "<svg height=\"190\"><polygon points=\"100,10 40,180 190,60 10,60 160,180\" style=\"fill:lime;stroke:purple;stroke-width:5;fill-rule:evenodd;\" /></svg>"
let svgData = xmlSVGImage.data(using: .utf8)!
let svgImage = NSImage(data: svgData)
print(svgImage)

Optional(<NSImage 0x600001400140 Size={185, 190} RepProvider=<NSImageArrayRepProvider: 0x600002704220, reps:(
    "_NSSVGImageRep 0x60000063c1e0 Size={185, 190} ColorSpace=Generic RGB colorspace BPS=0 Pixels=0x0 Alpha=NO AppearanceName=(null)"
)>>)

macOS 15.0 Sequoia also works, loading SVG.

iOS 18.0 returns nil when given that same SVG.

NSImage with SVG support - official?
 
 
Q