Post

Replies

Boosts

Views

Activity

Reply to Implementing Dynamic Island support - Generic parameter 'Expanded' could not be inferred
For me this issue started to appear when I took down the iOS minimum deployment of my extension to 16.2 instead of 18.0. I fixed it by adding @available(iOS 18.0, *) above all my #Preview: @available(iOS 18.0, *) #Preview("DI compact", as: .dynamicIsland(.compact), using: BackgroundRecordingAttributes.preview) { BackgroundRecordingLiveActivity() } contentStates: { BackgroundRecordingAttributes.ContentState(isAudioOnly: true) BackgroundRecordingAttributes.ContentState(isAudioOnly: false) }
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’24