Post

Replies

Boosts

Views

Activity

Reply to Crash in URLSessionConfiguration init in Xcode 26.0 beta (17A5241e)
For me, it crashes in a Swift Package as soon as I call URLSession(configuration: .ephemeral) (located in a static method, called from Task{} within another static method) with EXC_BREAKPOINT (code=1, subcode=0x257b8318c). It crashes only in the simulator (iOS 26 beta 1), on the device (iOS 26 beta 1) works. Tried on macOS 15.5 (24F74) and Xcode 26 beta 1. Running it from Xcode 16.4 (16F6) and on iOS 26 simulator also crashes. Running it from Xcode 16.4 (16F6) and on iOS 18.4 simulator does not crash. (FB17969913)
Jun ’25
Reply to SwiftUI: dynamicTypeSize doesn't work for items in a List
I stumbled across it too. I tried to display a SFSymbol (Image(systemName: ...)) in and a Text in a HStack in a List. The symbol should not go bigger than a certain dynamicSize. That did not work with the dynamicTypeSize modifier. But I found a solution. I noticed that if you give an element like the Image an explicit font (like .font(.body)) before, it works for exactly this element. List { HStack { Image(systemName: "heart") .font(.body) // necessary for dynamicTypeSize to work .dynamicTypeSize(...DynamicTypeSize.xxLarge) Text("Hello") } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’25