Posts

Post marked as solved
2 Replies
0 Views
I took this sample code https://developer.apple.com/documentation/localauthentication/accessing_keychain_items_with_face_id_or_touch_id and added the access control flag biometryCurrentSet to reproduce the scenario. The sample code uses an Internet Password item not a Generic Password item, but this didn't seem to matter. In Xcode 13 I can see the error code is now errSecAuthFailed when the biometry set changes. Our code was only checking for errSecItemNotFound. Updating our code back in Xcode 12 with deployment target iOS 11.0 to check for either of these return codes has our app behaving correctly again in iOS 15 and below.
Post not yet marked as solved
4 Replies
0 Views
I submitted FB9060375 in March to ask for a public API equivalent to the SPI.
Post not yet marked as solved
4 Replies
0 Views
Still looking for a solution for this. Can't attach screenshots here, so I've put them in a gist: https://gist.github.com/Ashton-W/25b2cb387e989ba4d6371e57dabccf6a
Post not yet marked as solved
4 Replies
0 Views
I've found a solution to this using SPI (Thanks to finding this report before submitting my own on WebKit Bugzilla https://bugs.webkit.org/show_bug.cgi?id=213603) The SPI _setViewScale behaves exactly the same as Safari and SFSafariViewController's 'Page Scale' function. I've updated FB7847944 to mention this, as this is what needs to be made public API. Would still love to find a solution that doesn't use SPI.
Post not yet marked as solved
4 Replies
0 Views
I’ve been looking into this a bit more. . -webkit-text-size-adjust or (webkitTextSizeAdjust in JavaScript) is not the same. The new iOS 14 API WKWebView.pageZoom is not the same. The closest I have got so far is to notice that when Safari scales a page the viewport is changed. For instance the value of document.documentElement.clientWidth changes. I haven’t found a way to do this myself yet. I’ve submitted FB7847944 asking for a new WKWebView API to do this.