curioustechizen
06/09/2025, 7:26 AMComposeUIViewController
and UIViewControllerRepresentable
)
MyComposable(state: somePreviewState)
My problem is that when I try to preview this in multiple locales, the locale information seems to get lost somewhere in between the Xcode preview and my Composable.
MyComposable(state: somePreviewState)
.environment(\.locale, .init(identifier: "nl"))
This still shows the English preview.
Anyone has run into this? Any ideas on how to get a Composable implemented in iosMain to recognize the locale passed in from an Xcode preview?curioustechizen
06/09/2025, 10:52 AMcurioustechizen
06/09/2025, 10:54 AM