Why does macOS prefer using PDF files for icons or UI elements?

  • Posted 2 days ago by damiaozi
  • 2 points
Running `find /System/Library/ -name "*.pdf"` reveals that macOS uses many .pdf files as icons or UI elements. For example, the VPN connection animation in the menu bar seems to cycle through a sequence of .pdf files located at:

/System/Library/CoreServices/Menu Extras/VPN.menu/Contents/Resources/VPN[0-4].pdf

Why PDF, instead of more traditional formats like PNG or SVG? Is this due to Quartz/CoreGraphics rendering benefits, vector scaling efficiency, or something else?

1 comments

    Loading..