I'm using Xcode 12 beta 2, and the latest WatchOS beta.
For the following code I see 02:03 (correct) in the simulator and preview, and 02:00 (incorrect) on the physical watch:
Is this a known issue, user error, or a bug?
Thanks,
Damian
For the following code I see 02:03 (correct) in the simulator and preview, and 02:00 (incorrect) on the physical watch:
Code Block import SwiftUI struct ContentView: View { var body : some View { VStack { let a = 2 let b = 3 Text("\(a, specifier: "%02d"):\(b, specifier: "%02d") ") } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }
Is this a known issue, user error, or a bug?
Thanks,
Damian