Post

Replies

Boosts

Views

Activity

Reply to XCode does not recognize my iPhone
In my case, the problem was caused by an external display connected via USB. When I connected the iPhone 16 Pro with a USB cable, it appeared in Finder but not in XCode. The external display was made by LG and I was using it in clamshell mode. Once I disconnected the USB connection to the external display, XCode was able to recognize the iPhone.
Sep ’24
Reply to Complication Widget using AccessoryWidgetGroup
Thanks for your reply! I was able to confirm that the method you suggested worked correctly. I also discovered that it works correctly without AccessoryWidgetBackground(). Button(intent: intent) { ZStack { if showsWidgetContainerBackground { Color.black } else { Color.primary.opacity(0.15) //AccessoryWidgetBackground() } ... } } .buttonStyle(.plain) .widgetURL(URL(string: "widget://" + intent.id)) This problem seems to occur when using both AccessoryWidgetBackground() and .buttonStyle(.plain). Maybe this is a bug? I'll add this information to the feedback(FB15151000). Thank you very much for your help!
Oct ’24