Posts

Post not yet marked as solved
6 Replies
1.5k Views
I'm using a two column NavigationSplitView, where the view passed for the detail column is the root of a NavigationStack. The navigation works as expected, but the navigationTitle and toolbar elements of the detail view are very slightly delayed when the view appears on iOS, such that they 'pop' in rather than smoothly animating like normal. Returning to the root of the view from views higher in this stack animates as expected. Has anyone seen anything like this before? Thanks!
Posted Last updated
.
Post not yet marked as solved
0 Replies
553 Views
Hi there, I'm adding a new widget using the new WidgetConfigurationIntent which takes a number of parameters, including one which conforms to AppEntity. It is defined as an optional. When the user is configuring the widget, after one of the suggested entities is chosen, there is no way to return to a state where this value is nil. Is this possible? I'd like the user to be able to select "None" for this parameter. For now, I'm using a bool to determine whether the AppEntity parameter is used. Thanks!
Posted Last updated
.
Post not yet marked as solved
0 Replies
496 Views
Hi there, I have three "find" AppIntents in my app, each associated with a different AppEntity. These worked fine in iOS 16, but since upgrading to iOS 17 all fail with an LNPerform-QueryErrorDomain error. I'm struggling to debug this - shortcuts fail reporting this error type, and in the console I can see two errors with the BackgroundShortcutRunner process occurring at this time: error 20:40:54.224489+0100 BackgroundShortcutRunner Operation `<LNPerformQueryConnectionOperation: 0x895b3a3c0, identifier: E3E70A3B-E10B-41A8-8C9B-DA32CA18B109>` error Error Domain=LNPerformQueryErrorDomain Code=10003 "(null)" error 20:40:54.225474+0100 BackgroundShortcutRunner -[WFAction runWithInput:userInterface:runningDelegate:variableSource:workQueue:completionHandler:]_block_invoke_3 Action <WFLinkContentItemFilterAction: 0x8929729b0, identifier: <identifier>, contentItemClass: WFLinkEntityContentItem_<identifier>> finished with error {domain: LNPerformQueryErrorDomain, code: 10003}. Error Domain=LNPerformQueryErrorDomain Code=10003 Does anyone have any suggestions on where to go with this? Thanks!
Posted Last updated
.
Post marked as solved
2 Replies
556 Views
Hi there, I'm currently adding AppIntents to my iOS app, using TypeDisplayRepresentation to identify each entity. I'm following the example provided in the docs for the name and numericFormat strings, and I have an accompanying stringsdict file of the same format as the example. This works perfectly in the name of the actions, equivalent to Find Books/All Books, but now within my app anywhere the key value is used (in this example, the string "Book"), %#@VARIABLE@ is literally substituted in. I think the issue is I'm not sure how to handle a NSStringLocalizedFormatKey which is just a single word. Should I be defining the strings differently within my SwiftUI views to fix this, or is there a problem in my stringsdict file? Thank you!
Posted Last updated
.