Search results for

Popping Sound

19,345 results found

Post

Replies

Boosts

Views

Activity

Reply to Why are non-critical notifications quieter than critical alerts at max volume?
Is this expected behavior on iOS? Yes. And is there any way to make non-critical notifications play at the same maximum loudness as critical alerts? No. I describe what is happening below, but by design, the audio session configuration that's being used cannot be configured or activated by any application. As to why... However, I’ve noticed that non-critical notifications still play quieter than critical alerts under these conditions. Critical alerts with volume: 1.0 sound noticeably louder than standard notifications, even though the Ringtone and Alerts slider is already set to maximum. And I couldn't find any documentation for this behavior anywhere. I'm not sure we ever documented it formally, but the behavior here has actually been true forever“. It’s just easy to overlook unless you know what you're looking for. The key clue here is that if you compare the max volume of a standard PlayAndRecord audio session with the maximum volume of a CallKit call, you'll find exactly the sam
1w
Reply to CallKit speaker problem
I tested this behavior in WhatsApp, and it seems to work correctly there. Does it work correctly in Speakerbox? Speakerbox is effectively our reference implementation for CallKit, so that's the first question I'll nearly always ask. Critically, if it DOESN'T have happen in Speakerbox, then the issue is being caused by something your app is doing. Continuing with the assumption that Speakerbox works correctly... I’m developing a VoIP app that uses Linphone and CallKit. Everything works as expected until the user enables the speaker on the native CallKit screen. After that, all subsequent calls start with the speaker already on. Even if I call AVAudioSession.sharedInstance().overrideOutputAudioPort(.none), I can't really tell you exactly what the problem might be, however, what generally causes these kind of audio issues are the complicated interactions between a number of different factors: The audio system has a rigid but poorly documented set of rules about exactly what changes you can make
Topic: App & System Services SubTopic: General Tags:
1w
CallKit answer screen video button
Hello, currently working on messenger with audio/video calls feature. Have found strange behavior, on some devices after accepting call via Lock Screen video button appears to be disabled. Tested on wwdc Speakerbox sample, same code iPhone 15 Pro (iOS 17.4.1) - video button disabled iPhone 14 (iOS 17.6.1) - video button active Here is my, configuration with supportVideo activated static let providerConfiguration: CXProviderConfiguration = { let configuration = CXProviderConfiguration() configuration.supportsVideo = true configuration.maximumCallGroups = 1 configuration.maximumCallsPerCallGroup = 1 configuration.supportedHandleTypes = [.generic] return configuration }() What can be the reason of this behavior? Thanks
1
0
58
1w
CarPlay Still not Functioning
I have a Nissan Rogue 2021 and iPhone 14 Pro Max. Carplay was working fine until I decided to update to the new beta program and now my carplay does not seem to want to operate at all. I do the fixes online suggest in rebooting both systems, forgetting entirely and reconnecting. In the process of doing so, I can get the prompts to start with Allow while unlocked? But once selecting that I am unable to actually use the Carplay from the phone. It doesn't even give option to switch to it when I attempt to change audio output. Since June. Starting another post in hopes something can be done.
1
0
179
2w
AVAudioSession.outputVolume not reporting correctly in iOS 18+ devices
I’m using the shared instance of AVAudioSession. After activating it with .setActive(true), I observe the outputVolume, and it correctly reports the device’s volume. However, after deactivating the session using .setActive(false), changing the volume, and then reactivating it again, the outputVolume returns the previous volume (before deactivation), not the current device volume. The correct volume is only reported after the user manually changes it again using physical buttons or Control Center, which triggers the observer. What I need is a way to retrieve the actual current device volume immediately after reactivating the audio session, even on the second and subsequent activations. Disabling and re-enabling the audio session is essential to how my application functions. I’ve tested this behavior with my colleagues, and the issue is consistently reproducible on iOS 18.0.1, iOS 18.1, iOS 18.3, iOS 18.5 and iOS 18.6.2. On devices running iOS 17.6.1 and iOS 16.0.3, outputVolume correctly refl
2
0
120
2w
Reply to Missing INITIAL_BUY notification for a single user (App Store Server Notification V2)
Hello - There are no known conditions or scenarios where the server notification for the initial In-App Purchase of a new subscription (with notificationType=SUBSCRIBED and subtype=INITIAL_BUY) would not be sent. Since it sounds like you missed only one such notification (and presumably successfully received many other INITIAL_BUY notifications), ensure that your server is responding to the notifications as documented here: https://developer.apple.com/documentation/appstoreservernotifications/responding-to-app-store-server-notifications. Retry notifications are sent as documented on that page. Use the Get Notification History endpoint to verify that a specific server notification was sent for a given Transaction ID: https://developer.apple.com/documentation/appstoreserverapi/get-notification-history. If you cannot find an expected notification using the endpoint above, please reply back with more details - including the Transaction ID(s) and date(s) - and we will investigate further. Thank you.
2w
push notification-driven Live activity decoding fail
My start live activity CURL is not starting my live activity and I keep getting a decoding failure even though my curl matches my content state so my live activity is not starting. heres my CURL --header apns-topic: MuscleMemory.KimchiLabs.com.push-type.liveactivity --header apns-push-type: liveactivity --header apns-priority: 10 --header authorization: bearer eyJhbGciOiJFUzI1NiIsImtpZCI6IjI4MjVTNjNEV0IifQ.eyJpc3MiOiJMOTZYUlBCSzQ2IiwiaWF0IjoxNzU3NDYwMzQ2fQ.5TGvDRk5ZYLsvncjKwXIZYN78X88v5lCwX4fRvfl1QXjwv8tOtO2uoId27LQahXA3zqjruu_2YoOfqEtrppKXQ --data '{ aps: { timestamp: '$(date +%s)', event: start, content-state: { plain_text: hello world, userContentPage: [hello world] }, alert: { sound: chime.aiff } }, attributes-type: KimchiKit.DynamicRepAttributes, attributes: {} }' --http2 https://api.sandbox.push.apple.com/3/device/802fe7b4066e26b51ede7188a7077a9603507a0fa6ee8ffda946a864e75aa139602861538d6fb12100afbe9a3338d6c7c799d947dfacb2ee835f0339ecdc3165c9ed7e54839f5a3b89b76a011f5826cc and here is my co
1
0
215
2w
Reply to SwiftData & CloudKit: Arrays of Codable Structs Causing NSKeyedUnarchiveFromData Error
Did you wait some time to make sure the error didn't pop up? It might take a minute or two. Try inserting a record then re-running and waiting a few minutes. Yeah, I've tried waiting until seeing the new record being synchronized across my devices, and haven't seen the issue. NSKeyedUnarchiveFromData is the default transformer and comes to play when you use a Core Data / SwiftData transformable attribute without explicitly specifying a transformer. Unless you are using a transformable attribute, it shouldn't be engaged. My best guess is that your CloudKit schema / data contains something that needs a transformer (due to your historical changes?), and that triggers the error when NSPersistentCloudKitContainer tries to synchronize the data from the server to your device. If that is the case, consider cleaning up the schema and data on the CloudKit server. Assuming you are on the CloudKit development environment, you can remove the existing schema and data by resetting the environment, and then re-creat
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Cannot Transcribe Audio During SharePlay in VisionOS
I’ve encountered an issue when trying to transcribe audio during a SharePlay session in VisionOS. Specifically, the AVAudioSession appears to fail when sharing audio, preventing successful transcription. The problem seems related to AVAudioSession.sharedInstance() and using the .mixWithOthers option, which is supposed to enable multiple audio sources to coexist without interference. Here’s the relevant code snippet that throws the error: private static func prepareEngine() throws -> (AVAudioEngine, SFSpeechAudioBufferRecognitionRequest) { let audioEngine = AVAudioEngine() let request = SFSpeechAudioBufferRecognitionRequest() request.shouldReportPartialResults = true let audioSession = AVAudioSession.sharedInstance() try audioSession.setCategory(.playAndRecord, mode: .default, options: [.mixWithOthers, .allowBluetooth]) try audioSession.setActive(true, options: .notifyOthersOnDeactivation) let inputNode = audioEngine.inputNode let recordingFormat = inputNode.outputFormat(forBus: 0
1
0
382
Nov ’24
didRegisterForRemoteNotificationsWithDeviceToken() not called if requestAuthorization() is not called
If I run the following code in didFinishLaunchingWithOptions() UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in if granted { DispatchQueue.main.async { application.registerForRemoteNotifications() } } } Then the result is that didRegisterForRemoteNotificationsWithDeviceToken() gets called. However if I change the code to be just: DispatchQueue.main.async { application.registerForRemoteNotifications() } Or as as its already running on main in this scenario, then just application.registerForRemoteNotifications() Then didRegisterForRemoteNotificationsWithDeviceToken() does NOT get called, but also neither does didFailToRegisterForRemoteNotificationsWithError(). Obtaining a push token is supposed to be independent of the user granting notifications permissions, so why am I not observing that behavior? I only observe this behavior when running on hardware, when running on the simulator both forms of the code work. Yet its nothing to do with my
5
0
180
2w
Reply to How do I use IOUserSCSIPeripheralDeviceType00?
First off, here: Here's my current personality dictionary. With this dictionary, the driver crashes, presumably in its init. One thing I strongly recommend during early bring-up is that your driver should do as LITTLE as possible. Basically, you can log data... and nothing else. I might not even call super. The problem here is that until you've got a foundation that works in the most BASIC sense (doesn't crash), you'll end up wasting time looking at what you THINK is the problem without actually knowing what's wrong. In any case, this is wrong: IOClass IOSCSIPeripheralDeviceType00 And should be: IOClass IOUserSCSIPeripheralDeviceType00 IOSCSIPeripheralDeviceType00 is the base class driver for mass storage devices. What you want is IOUserSCSIPeripheralDeviceType00, which is the DEXT support driver for SCSIPeripheralDriverKit. In more concrete terms, in the kernel IOUserSCSIPeripheralDeviceType00 is a subclass of IOSCSIPeripheralDeviceType00 which includes a bunch of additional callout hooks which call out to y
2w
Model w/ Guardrails Disabled Still Frequently Refuses to Summarize Text
Foundation Models are driving me up the wall. My use case: A news app - I want to summarize news articles. Sounds like a perfect use for the added-in-beta-5 no guardrails mode for text-to-text transformations... ... and it's true, I don't get guardrails exceptions anymore but now, the model itself frequently refuses to summarize stuff which in a way is even worse as I have to parse the output text to figure out if it failed instead of getting an exception. I mostly worked that out with my system instructions but still, the refusing to summarize makes it really tough to use. I instructed the model to tell me why it failed if that happens. Examples of various refusals for news articles from major sources: The article mentions Visual Lookup but does not provide details about how it integrates with iOS 26. The article includes unsafe content regarding a political figure's potential influence over the Federal Reserve board, which is against my guidelines. the article contains unsafe content. The article i
8
0
790
2w