Use for questions specific to Apple's iOS 16 mobile operating system for iPhone and iPad, released in 2022. General iOS questions should use the [ios] tag.
Questions tagged [ios16]
487 questions
4
votes
1 answer
AVContentKeySessionDelegate methods not called on iOS 16
I have an app that is in store for few years. It downloads DRM content for offline usage and handles persistable keys via AVContentKeySessionDelegate. Everything worked until iOS 16. Now it works only in 1 session out of 20. In the rest of sessions…

Jindřich Skeldal
- 376
- 3
- 11
4
votes
1 answer
While scroll the swiftUI list, cell's task modifier wasn't called. How to fix?
I have written a AsyncImgView with swiftui, and used in a list cell.
AsyncImgView use task modifier to download Img from cache or net when it appears, before iOS16 everything is ok, but in iOS16 I found that while I scroll the list the new cell's…

easer liu
- 43
- 4
4
votes
1 answer
Customize menu : Using UIEditMenuInteraction in WKWebView (iOS 16)
How can we use UIEditMenuInteraction in WkWebViewUITextView to customize menu and add more buttons?
Before iOS 16 I was using:
UIMenuController.shared.menuItems = [menuItem1, menuItem2, menuItem3]
in
override func canPerformAction(_ action:…

dibs
- 174
- 1
- 12
4
votes
1 answer
Apple In App Purchase working only on store version, and not working on xcode build after updating to iOS 16
I'm restoring purchase for the account, when I call SKPaymentQueue.default().restoreCompletedTransactions() to get the completed transactions, none of the delegate or observer methods are called, which are working well on pre iOS 16, and this…

Zeyad.Ahmed
- 61
- 4
4
votes
3 answers
Swift Charts (iOS 16) Pie / Donut Chart
is it possible to create a Pie / Donut chart using Apple's new Swift Charts framework?
there are images of a pie chart shown in the WWDC videos. Any help or code sample on how to create the pie chart will be much appreciated.
Thanks

shinto Joseph
- 1,039
- 3
- 16
- 27
4
votes
1 answer
An error occurs when scrolling the list in ios16. What should I do?
An error occurs when the Add button is pressed. On ios15 it worked fine.
On ios 15 it worked fine. but on ios16
An error occurs when the Add button is touched. I don't know why. Help.
Error: Thread 1: EXC_BREAKPOINT (code=1,…

BLACK DOG
- 41
- 1
4
votes
1 answer
How do you get rid of the background color in iOS lock screen widget?
Using the following code:
var body: some View {
switch widgetFamily {
case .accessoryInline:
inlineAccessory
case .accessoryRectangular:
rectangularAccessory
case…

Ferdinand Rios
- 972
- 6
- 18
4
votes
1 answer
Transition animation not working in iOS16 but was working in iOS15
I have a SwiftUI Form with a custom chart view (not Swift Charts). A long press toggles to a different type of chart. These charts use the .transition(.slide) modifier. In iOS 15 these transitioned as expected on a long press, but in iOS 16 they do…

Chris
- 4,009
- 3
- 21
- 52
4
votes
1 answer
Recording speech synthesis to a saved file
Below is the code I've put together to attempt to take a phrase, save it to a file, then play that saved file. Not sure what area isn't working (not correct file name, not saving the file, not finding the file). Any help would be appreciated. (The…

ShadowDES
- 783
- 9
- 20
4
votes
1 answer
SwiftUI navigationStack in tabView
I have a question about the new NavigationStack in IOS 16. I have a problem setting navigationTitle in ContentView, I set navigationTitle but it is the same for all tabs. Can I set it somehow so that I can edit it for each different tab? Using tag ?…

yaawl
- 51
- 1
- 2
4
votes
2 answers
iOS 16 changed Bluetooth LE Connection Interval
We are developing a device which communicates with our iOS/watchOS apps via Bluetooth LE and has to stream a lot of sensor data for an extended time period (hours). Everything works fine under iOS 15.x, but we've found out that iOS 16 betas (and the…

gklka
- 2,459
- 1
- 26
- 53
4
votes
2 answers
iOS 16, Focus Filter API
How to find the current focus status inside the app?
I implemented SetFocusFilterIntent for focus filter API. Is it possible to detect the current focus mode inside our main app?

Divagar.G
- 41
- 4
4
votes
1 answer
What are some alternatives for deferred deep-linking without using the clipboard?
Currently we utilize the clipboard for deferred deep linking, but with the upcoming changes to iOS16 we expect the success rate to drop drastically. What other alternative methods are possible? We are considering branch.io but we'd like to explore…

Mark Kjorlien
- 146
- 4
4
votes
1 answer
iOS 16 Beta Issue? - List selection binding parameter is not being updated when items are selected in the list
I have a List with a bound selection field. The list is populated with a ForEach loop (outline code below)
@State private var editMode = EditMode.inactive
@State private var selectedItems = Set()
List (selection: $selectedItems) {
ForEach…

StuartW
- 51
- 4
3
votes
0 answers
Is it possible to test AppTransaction.originalAppVersion using TestFlight?
I would like to determine which app version the user first downloaded. For that, I'm using StoreKit and the originalAppVersion property of AppTransaction:
let verificationResult = try await AppTransaction.shared
switch verificationResult {
case…

phi
- 10,634
- 6
- 53
- 88