You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently implementing QuickActions with your framework. I want to set custom icons for the quick actions but I don't really know how exactly. In your source there's the following line:
if self == .custom {
NSException(name: NSExceptionName(rawValue: "Invalid option"), reason: "`Custom` type need to be used with `toApplicationShortcutIcon:imageName`", userInfo: nil).raise()
return nil
}
To build the shortcuts my code looks like in your example:
I'm currently implementing QuickActions with your framework. I want to set custom icons for the quick actions but I don't really know how exactly. In your source there's the following line:
To build the shortcuts my code looks like in your example:
There's this function:
func toApplicationShortcutIcon(_ imageName: String) -> UIApplicationShortcutIcon?
But I don't really know how to call this function or is there another way? Can someone give me an advice how to implement a custom icon?
The text was updated successfully, but these errors were encountered: