Post

Replies

Boosts

Views

Activity

Reply to How to hide the tick marks on a SwiftUI Slider in iOS26
Looks like the ticks parameter is now exposed in beta4. An example from the Apple headers: @State private var percentage = 0.5 Slider(value: $percentage) { Text("Percentage") } currentValueLabel: { Text("\(percentage)%") } ticks: { SliderTickContentForEach( stride(from: 0.0, through: 1.0, by: 0.25).map { $0 }, id: \.self ) { value in SliderTick(value) { label(for: value) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’25
Reply to Starting with iPhone 17, the output image of avcapturesession is displayed horizontally.
Not sure if this is what you are seeing, but for iphone17 make sure you are using the AVCaptureDevice.RotationCoordinator to get the angle to apply to the videoRotationProperty of your photo connection, so the images are oriented correctly. Look at the AVCam sample and search for RotationCoordinator to see how to use it: https://developer.apple.com/documentation/avfoundation/avcam-building-a-camera-app
Sep ’25
Reply to How to hide the tick marks on a SwiftUI Slider in iOS26
Looks like the ticks parameter is now exposed in beta4. An example from the Apple headers: @State private var percentage = 0.5 Slider(value: $percentage) { Text("Percentage") } currentValueLabel: { Text("\(percentage)%") } ticks: { SliderTickContentForEach( stride(from: 0.0, through: 1.0, by: 0.25).map { $0 }, id: \.self ) { value in SliderTick(value) { label(for: value) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Starting with iPhone 17, the output image of avcapturesession is displayed horizontally.
Not sure if this is what you are seeing, but for iphone17 make sure you are using the AVCaptureDevice.RotationCoordinator to get the angle to apply to the videoRotationProperty of your photo connection, so the images are oriented correctly. Look at the AVCam sample and search for RotationCoordinator to see how to use it: https://developer.apple.com/documentation/avfoundation/avcam-building-a-camera-app
Replies
Boosts
Views
Activity
Sep ’25
Reply to Add a value to the Photos Caption field
It looks like if you set the kCGImagePropertyIPTCCaptionAbstract value in the kCGImagePropertyIPTCDictionary image metadata dictionary the iOS photos app will show that value in the Photos app.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25