There are some great "Quick Action Icons" available at https://developer.apple.com/ios/human-interface-guidelines/graphics/system-icons/.
Is it possible to make a UIImage
from one of these UIApplicationShortcutIcon
s to use on, say, a UIButton
. For example, the mail icon:
let mailIcon = UIApplicationShortcutIcon(type: .mail)
let mailImage = UIImage( ... )
Any help would be appreciated. Thanks.
You cannot use Quick Action Icons
as an normal image or cannot set in a button image. These are only for 3D touch shortcuts. When you press on application icon and it display shortcut menu for quick action. You can use these icons here. Even it allows to use our images as an quick action icons.
Also you can refer below URLs as a reference :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With