iOS 18 new ControlWidgetButton custom image/icon/symbol not displayed

Hello,

I am trying to create a custom control with the new WidgetKit control widget APIs.

In my custom control, I want to display a custom image, in fact a custom symbol. The custom symbol is not displayed with latest iOS 18 Seed 7 (22A5346a). Only system symbols are displayed. I don't find any information about it in the WidgetKit Apple Developer Documentation.

ControlWidgetButton(action: MyIntent()){
                Label(title: {
                    Text("My Custom Control")
                }, icon: {
                    Image("mycustomsymbol") //NOT DISPLAYED
                    // Image(systemName: "rectangle.portrait.inset.filled") IS DISPLAYED
                })
}

There was no issue with custom symbols in beta 4. Now since beta 5, custom symbols are not displayed.

I wonder if this is a bug or this is intended.

Can you help me ? I filed a feedback FB14888220

Thank you

I think this is working as intended. The ControlWidget documentation states that only symbol images are supported. You can create your own custom symbols using the SF Symbols app on the Mac. David Smith has a great guide on how to do that. I'm not allowed to link to it but you can search for "DND 18: Creating Custom SF Symbols"

@brebispanique are you still experiencing this issue?

Its still the same for me with xcode 16.1 / iOS 18.0

iOS 18 new ControlWidgetButton custom image/icon/symbol not displayed
 
 
Q