I'm trying to set the list row background color in my WatchOS app. I support WatchOS 6.2 & 7. The app is fully SwiftUI.
I currently use listRowPlatterColor. I note that this has been deprecated in WatchOS 7 (although it does still work). My issue is with WatchOS 6.2 building from Xcode 12 Beta 6.
Everything I run on a simulator or device with WatchOS 6.2 I get a crash:
EXCBADACCESS
If I remove any instances of listRowPlatterColor, the crash doesn't occur. Why does something that's been deprecated in WatchOS 7 still work there, but not in WatchOS 6?
I currently use listRowPlatterColor. I note that this has been deprecated in WatchOS 7 (although it does still work). My issue is with WatchOS 6.2 building from Xcode 12 Beta 6.
Everything I run on a simulator or device with WatchOS 6.2 I get a crash:
EXCBADACCESS
If I remove any instances of listRowPlatterColor, the crash doesn't occur. Why does something that's been deprecated in WatchOS 7 still work there, but not in WatchOS 6?
Code Block // Example code crashes on WatchOS 6.2 but not 7 // When building and running from Xcode 12 beta 6 struct TestView: View { var body: some View { List { Text("Hellow World)" .listRowPlatterColor(.clear) } } }