When applied .contentMarginsDisabled()
modifier to WidgetConfiguration
, Widget extension crashes on launch in Xcode 15 Beta 3.
struct TestWidget: Widget {
let kind: String = "TestWidget"
var body: some WidgetConfiguration {
return IntentConfiguration(kind: kind,
intent: TestIntent.self,
provider: TestProvider()) { entry in
TestView(entry: entry)
}
.configurationDisplayName("TestWidget")
.description("This is TestWidget.")
.supportedFamilies([.systemMedium])
.contentMarginsDisabled() // << Here
}
}
Though it works in Xcode 15 Beta 2. Anyone facing same issue ?