Posts

Post not yet marked as solved
5 Replies
1.8k Views
I have AppIntent code which lives in my app package that can not easily be decoupled and migrated into its own standalone framework or extension. This is because this intent has some action that relies on my app's network and core data stack. I'd like to expose this existing intent in some way to a Button in a widget, but so far I have not had success. Is this currently possible with AppIntentPackage or some other means? Is there a way I can use AppIntents to pass a message back to the app? How should I approach this? Thank you!
Posted
by reed.1325.
Last updated
.
Post not yet marked as solved
0 Replies
989 Views
We are currently experiencing a crash at runtime reproducible in Xcode 14.0 onward due to a dyld missing symbol for NSCoreDataCoreSpotlightDelegate.indexDidUpdateNotification which occurs on devices that are running iOS 15.x. I have discovered using NSNotification.Name.NSCoreDataCoreSpotlightDelegateIndexDidUpdate instead seems to workaround this issue and will allow the previously working notification behavior to continue working. Wanted to share this for others that might've run into the same issue. Hopefully an upcoming Xcode release can remedy this. If an Xcode engineer could take a look at this it would be much appreciated!
Posted
by reed.1325.
Last updated
.
Post not yet marked as solved
5 Replies
3.3k Views
Hi there, We have a spot in our app where we use a GeometryReader to create a circle as a background view on a Text view. It seems as though GeometryReader's behavior has changed between iOS 13 and iOS 14. On iOS 13, the background circle is centered by default; on iOS 14 it is not. My question is: how exactly has GeometryReader's behavior changed between iOS 13 and iOS 14, and can the docs be updated to reflect these changes? Here's the sample code to reproduce: struct ContentView: View {   var body: some View {     Text("Test")       .foregroundColor(Color.white)       .background(         GeometryReader { geometry in           Circle()             .frame(width: max(geometry.size.width, geometry.size.height) + 10, height: max(geometry.size.width, geometry.size.height) + 10)             .foregroundColor(.red)         }       )   } } On iOS 14, adding the following viewmodifer to the Circle adjusts the behavior to be the same as iOS 13 .position(x: geometry.size.width / 2, y: geometry.size.height / 2)
Posted
by reed.1325.
Last updated
.