如何在macOS 26 Tahoe系统中恢复奇形怪状的App图标
How to Bring Back Oddly Shaped App Icons in macOS 26 Tahoe

原始链接: https://simonbs.dev/posts/how-to-bring-back-oddly-shaped-app-icons-on-macos-26-tahoe/

macOS 26 Tahoe 引入了方形带圆角的应用程序图标,放弃了曾是Mac特色标志的独特形状图标。这一改变迫使应用程序图标采用统一的形状,这让那些珍视旧图标个性化特色的用户非常不满。 幸运的是,用户可以手动恢复经典的图标形状。通过在Finder中访问应用程序的“显示简介”面板并替换.icns文件,自定义形状就会重新出现。现在建议备份.icns文件,以便在开发者完全采用方形带圆角风格之前保留旧外观。 对于应用程序开发者来说,虽然方形带圆角是默认设置,但在运行时可以保留原始形状。使用NSDockTile API,开发者可以在应用程序启动后用自定义形状的图标替换默认的方形带圆角图标。这样可以在启动时短暂显示方形带圆角图标,然后立即替换成传统的独特形状图标,从而保持应用程序的原始美感。

Hacker News上的一篇讨论围绕macOS 26 Tahoe(暂译)中可能出现的标准化、奇形怪状的应用图标展开,引发了关于苹果设计选择和版本编号的辩论。一些用户认为将版本号改为反映发布后年份(例如,2026年的26版)是合乎逻辑的,这与每年的操作系统发布计划相符,并简化了识别。另一些人则认为这是不真实的、营销驱动的,并且打破了现有的惯例。 人们对强制使用的图标形状表示担忧,这会影响视觉区分,并类似于iOS的美学风格,一些人不喜欢强加的“玻璃”滤镜。虽然开发者可能有变通方法,但它们的长期可行性,尤其是在App Store应用方面,值得怀疑。一些人认为这种转变削弱了macOS的独特个性,并减少了定制选项。 讨论还涉及macOS的性能、与Android图标标准化的比较以及界面的可用性。一些人认为这种改变是客观上的改进,而另一些人则强烈反对,他们更喜欢旧版独特形状图标的独特外观。
相关文章

原文

June 11, 2025

macOS 26 Tahoe replaces the oddly shaped app icons that once brought joy and personality to the Dock with the familiar squircle icons from iOS.

Here's what that looks like. The lovely Things icon now sits awkwardly on a glass background 😢

Dock in macOS 26 showing the Things app icon placed on a glass surface.

I strongly dislike this change. Part of the Mac’s soul was in its expressive, varied app icons, a case of character over conformity.

Fortunately, there's a way to bring back the personality and charm that custom icon shapes add to macOS. This post shows how to do it both as a macOS user and as an app developer.

For Users: Restoring Custom Icon Shapes

When you manually assign an app icon through Finder, macOS respects the shape and doesn't force the glass background. Interestingly, this also works if you just replace the icon with the same one.

Dock in macOS 26 showing the Things app icon with its old oddly shaped icon.

Here's how to replace the app icon:

  1. Right-click the app in the Applications folder and choose Get Info.
  2. Right-click the app again and choose Show Package Contents.
  3. Open the Contents folder.
  4. Then open the Resources folder.
  5. Find the icon file with the .icns extension.
  6. Drag that file onto the icon thumbnail in the info panel.
  7. Quit and relaunch the app to see the updated icon in the Dock.

Here's a short video showing the steps:

App developers will likely start shipping new squircle-style icons soon. If you prefer the current look, it's a good idea to back up their .icns files now so you can restore the classic shape later.

For Developers: Swapping Icons at Runtime

Although squircle icons are now the default, developers can still display a custom-shaped icon in the Dock by setting a view on NSApplication.shared.dockTile.contentView.

That's what I will do in Festivitas and Smash Smash. The default icon keeps everything inside the squircle, and anything that extends beyond it gets clipped. On launch, I use the NSDockTile API to replace it with the full version that includes the unique shape.

Here's what that looks like when users launch Festivitas and Smash Smash with those changes:

联系我们 contact @ memedata.com