現在、3D Touch を使用して iOS 9 アプリのホーム画面のクイック アクションを実装しています。定義された UIApplicationShortcutIconType 列挙型から既存のシステム アイコンを使用していくつかのアクションがあります。
例:
<dict>
<key>UIApplicationShortcutItemIconType</key>
<string>UIApplicationShortcutIconTypeSearch</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Search for Parking</string>
<key>UIApplicationShortcutItemType</key>
<string>SEARCH</string>
</dict>
ただし、アクションの 1 つで、カスタム アイコンを使用したいと考えています。UIApplicationShortcutItemIconType 文字列をイメージ アセットの名前に置き換えようとしましたが、うまくいきません。
UIApplicationShortcutIcon.iconWithTemplateImageName() を使用して動的アクションを実行するのは簡単ですが、このアクションは静的である必要があります。

