Post

Replies

Boosts

Views

Activity

UIAccessibilityScreenChangedNotification not working when using largest dynamic font
I met this problem recently. Basically, I want the voice-over back to the first element ( the bar item ) when the alert is dismissed. I had tried passing the bar item UIAlertAction *okAction = [UIAlertAction actionWithTitle: @"OK"                               style:UIAlertActionStyleCancel                              handler:^(UIAlertAction *action) {       dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{         UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, self.navigationItem.leftBarButtonItem);       });     }]; I also tried passing nil to UIAccessibilityScreenChangedNotification. I also tried setting accessibility elements in this controller or in the view in the controller. But none of the above works. When I tested it on iPhone Xr (iOS 15), there was no problem. But it's not working on iPhone 8 Plus (iOS 14). The issue with iPhone 8 Plus (iOS 14) is that the voice-over just randomly focuses on some element on the view. I was searching in docs, forums and websites but could not really find any help. Maybe someone has made the same experience and could share the solution with me. Thank you in advance!
1
0
897
Mar ’22
Keychain return different key when switching branches
Currently I found a wired issue on my application. The code basically unchanged for months. But suddenly when I switching to a different branch (a bit older), then back to the latest develop branch, the keychain returns a different encryption key. The keychain implementation remains the same for long time. Wondering if anyone can give some insights about it.
0
0
319
Oct ’23