Post

Replies

Boosts

Views

Activity

Physical system volume button press notification on iOS 15?
Physical volume button pressed notification "AVSystemController_SystemVolumeDidChangeNotification" stopped working with the release of iOS 15. AVAudioSession::OutputVolume (https://developer.apple.com/documentation/avfaudio/avaudiosession/1616533-outputvolume?language=objc) seems like the preferred approach but the limitation is that it doesn't provide a callback when volume is at max (press up) or min (press down). is there any alternative to get the callback even when the volume is at max or min? There is a new notification available "SystemVolumeDidChange" that works similar to "AVSystemController_SystemVolumeDidChangeNotification". Please can you confirm if it a Private API or if it may be used to publish apps on App Store? Our use case requires the physical volume button press notification even if volume is already at max or min. is there any other alternative approach available?
1
1
2.8k
Jan ’22
SecPKCS12Import is failing to import P12 certificate.
Are you able to reproduce the issue? Yes What software version(s) and hardware have you reproduced the issue on? iOS 14, iOS 15 iPhone XR, iPhone 12 simulator (On All iOS devices) Description When trying to import a P12 certificate using the API SecPKCS12Import, it is failing with error errSecDecode = -26275 since 09/23 in production. We tried to figure out the change in our code base (client as well as server side) that might have triggered this failure but there is no change on either side. The same P12 certificate is successfully validated using the below mentioned openssl command on the terminal. openssl pkcs12 -in -passin pass: Please can you tell us how we may debug the API SecPKCS12Import and understand what might be incorrect in P12 certificate format due to which it has started failing. Note: The same code (with zero change) was working fine in production until 09/23. If required, we may share the p12 certificate and associate password with you to debug it further.
12
2
14k
Dec ’21