Questions tagged [ios15]

Use for questions specific to Apple's iOS 15 mobile operating system, released in 2021. General iOS questions should use the [ios] tag.

573 questions
6
votes
2 answers

iOS15 Webview using `Video` causes crashes - `WebAVPlayerController valueForUndefinedKey - playingOnMatchPointDevice `

iOS15 Webview's HTML using Video tag, the following crash occurs, does anyone know what is the reason for this? [ valueForUndefinedKey:]: this class is not key value coding-compliant for the key…
Leo
  • 61
  • 1
6
votes
1 answer

Safari on iOS 15 inline video playback issues

A webpage containing video element with src attribute set to a Data URI containing a video file does not play the video in Safari on iOS 15. Inspecting the device/simulator with Safari Dev Tools suggests the browser repeatedly issues requests with…
Anton
  • 2,483
  • 2
  • 23
  • 35
6
votes
2 answers

iOS15 UITextView After dragging the view, it causes a crash, Invalid parameter not satisfying: pos

crash example The above article is a problem found by a netizen on the forum. Recently, I also found a similar crash stack on firebase. I guess it is also caused by this reason, and it may be the problem of data out of bounds. Do you have a good…
Jersey
  • 391
  • 1
  • 4
  • 14
6
votes
1 answer

Message in console on iOS 15: "Binding action tried to update multiple times per frame."

I have the following code: struct Credential: Equatable { var username = "" var password = "" } enum Database { static var credential = Credential() } struct UsernamePasswordInput: View { @Binding var credential: Credential …
Bart van Kuik
  • 4,704
  • 1
  • 33
  • 57
6
votes
1 answer

Extra Space Between UITableViewSections in iOS 15

UITableView with multiple sections without section footers is shown with an extra space between sections. Xcode's view debugger shows that it's not a view, but just an empty space. In my case the behavior is unwanted. Playing with adding a 1.0/0.0…
lazarevzubov
  • 1,767
  • 2
  • 14
  • 24
6
votes
1 answer

How to detect tap on cancel button with searchable modifier

I use the SwiftUI searchable of iOS15 modifier to make a search with the onSubmit modifier to send a HTTP request, and I also would like to reset the initial list when the user tap on Cancel button; I would appreciated if I had found an onCancel…
Beppex
  • 123
  • 1
  • 6
6
votes
1 answer

Navigating to a view controller with a transparent navigation bar from a non-transparent navigation bar on iOS 15

On iOS 15, when navigating to a view controller that has a transparent navigation bar, the animation to the transparent bar isn't working as expected. However, if you navigate back to the view controller with a transparent navigation bar, the…
6
votes
1 answer

Change background color of lists in iOS15

With the new XCode 13 and it‘s iOS 15 support the presentation of Lists have apparently changed. Now a List has an additional gray background. Before, the background was plain white, just as I would like it to be. When I add other elements like…
user9582784
  • 175
  • 1
  • 8
6
votes
1 answer

Before iOS 15, I was able to send sound only local notification, Now I have to show banner

This was working good before iOS 15 let center = UNUserNotificationCenter.current() let content = UNMutableNotificationContent() content.sound = UNNotificationSound.init(named:UNNotificationSoundName(rawValue: sound)) let request =…
iTarek
  • 736
  • 1
  • 8
  • 17
6
votes
4 answers

String(localized:) has no separate key and value?

New in iOS 15, we are invited to use this String initializer method to make localizable strings in our Swift code: init(localized keyAndValue: String.LocalizationValue, table: String? = nil, bundle: Bundle? = nil, locale: Locale =…
matt
  • 515,959
  • 87
  • 875
  • 1,141
6
votes
2 answers

Keyboard shortcuts with UIKeyCommand in iPadOS 15 beta

For some reason I can't get hardware keyboard shortcuts to work in iPadOS 15 (beta 5). They work for most keys, but not for arrow keys and tab key. The same code seems to work well when compiled in Xcode 13 (beta 4) and run on iPadOS 14.5 simulator,…
Alex Staravoitau
  • 2,222
  • 21
  • 27
6
votes
6 answers

System Volume Change Observer not working on iOS 15

I used following code to detect system volume changed by users. NotificationCenter.default.addObserver(self, selector: #selector(volumeChanged), name: NSNotification.Name(rawValue: "AVSystemController_SystemVolumeDidChangeNotification"), object:…
Gyeom
  • 63
  • 1
  • 4
6
votes
1 answer

Taking advantage of the iOS 15 grammar agreement feature for English strings

New in iOS 15 there is a grammar agreement feature for English and Spanish. For example, I should be able to say You have x apple. And if x is 1, then "apple" is "apple", but if x is more than 1, then "apple" magically becomes "apples". This sounds…
matt
  • 515,959
  • 87
  • 875
  • 1,141
6
votes
1 answer

Replace deprecated `SecTrustGetCertificateAtIndex` in iOS 15?

I'm getting a deprecation warning in iOS 15 SDK, but the suggested replacement is not a one-to-one replacement. This is what I have for evaluating the SSL trust chain: func valid(_ trust: SecTrust, forHost host: String) -> Bool { guard…
TruMan1
  • 33,665
  • 59
  • 184
  • 335
6
votes
2 answers

Understanding result of fetching CKRecords with new async/await API

I am a bit confused on how to deal with complex Swift data types, their assignment to variables and accessing the values within. Hopefully someone can clarify the following: when trying to get data from SwiftUI and CloudKit, and while trying to…
JerseyDevel
  • 1,334
  • 1
  • 15
  • 34