Search results for

Popping Sound

19,350 results found

Post

Replies

Boosts

Views

Activity

Reply to hidesBottomBarWhenPushed in iOS 26
While testing further on iOS 26, I noticed another issue when using hidesBottomBarWhenPushed = true. When I push a view controller with this property enabled and then navigate back, the pushed view controller’s deinit() is not called. Additionally, the navigation bar does not properly reset — for example, the rightBarButtonItem set in the pushed view controller remains visible even after returning to the previous screen (e.g., the Home tab). It seems likely that because deinit() is not called, the pushed controller is not fully removed from memory, which may explain why its navigationItem is still affecting the navigation bar after popping. This behavior disappears when I comment out hidesBottomBarWhenPushed = true.
Topic: UI Frameworks SubTopic: UIKit
Jul ’25
Method to capture voice input when using CPVoiceControlTemplate
In my navigation CarPlay app I am needing to capture voice input and process that into text. Is there a built in way to do this in CarPlay? I did not find one, so I used the following, but I am running into issues where the AVAudioSession will throw an error when I am trying to set active to false after I have captured the audio. public func startRecording(completionHandler: @escaping (_ completion: String?) -> ()) throws { // Cancel the previous task if it's running. if let recognitionTask = self.recognitionTask { recognitionTask.cancel() self.recognitionTask = nil } // Configure the audio session for the app. let audioSession = AVAudioSession.sharedInstance() try audioSession.setCategory(.record, mode: .default, options: [.duckOthers, .interruptSpokenAudioAndMixWithOthers]) try audioSession.setActive(true, options: .notifyOthersOnDeactivation) let inputNode = self.audioEngine.inputNode // Create and configure the speech recognition request. self.recognitionRequest = SFSpeechAudioBufferR
3
0
106
Jul ’25
Reply to Why Large-Scale Model Scenes Cause Real Device Crashes
Hello @Hernando9563, System spontaneously reboots Based on this description, it sounds like you have a model that can reliably crash a system process. Whenever this happens, you should file a bug report using Feedback Assistant. Optimize your 3D assets for spatial computing has some recommendations on optimizing your assets. 4.2M triangles is well over the recommended max of 500k triangles. -- Greg
Topic: Graphics & Games SubTopic: RealityKit Tags:
Jul ’25
Reply to Method to capture voice input when using CPVoiceControlTemplate
I actually think I figured it out. It seems I need to capture the category before I change it: // Save previous category self.previousCategory = audioSession.category And then set it back before I stop the audio session being active: do { if let category = self.previousCategory { try audioSession.setCategory(category) } try audioSession.setActive(false, options: .notifyOthersOnDeactivation) } catch { print(error) } I no longer get the error that an audio session/object is running.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’25
Reply to Method to capture voice input when using CPVoiceControlTemplate
Hello @zedsaid, The setActive(_:options:) documentation states: Deactivating an audio session with running audio objects stops the objects, makes the session inactive, and returns an AVAudioSessionErrorCodeIsBusy error. AVAudioSessionErrorCodeIsBusy corresponds to the error code you are receiving: AVAudioSessionErrorCodeIsBusy = '!act', // 0x21616374, 560030580 So, it appears that your app has running audio objects when you attempt to deactivate the audio session. -- Greg
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’25
Reply to How to get the frame or insets of the new iPadOS 26 window control buttons (close, minimize, fullscreen)?
I have the same question. WWDC Sessions and the HIG mention moving your controls when the window control appears. It's great that this happens automatically when using a standard NavigationStack and standard toolbar, however for apps that are unable to use standard UI elements, the documentation currently makes it sound like there is some way to get this sizing programmatically. Filed FB18559686 Screenshot of the issue: Sample code to make this happen: import SwiftUI struct ContentView: View { var body: some View { VStack(spacing: 0) { HStack { // Trying to make this button respect window controls safe area Button(action: { }, label: { Image(systemName: xmark) }) .padding() .foregroundStyle(.primary) .glassEffect() Spacer() } .padding() .background(.fill.quaternary) Rectangle() .foregroundStyle(.fill.quinary) } } } #Preview { ContentView() }
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’25
Reply to [[UIDevice currentDevice] systemVersion] issue in iOS 26
another short-term solution: Create this no-net-changes build with Xcode 16 and just special case the OS version. Unfortunately that may not meet the OP’s requirement to report an accurate version for troubleshooting, since it sounds like the compatibility version will be stuck at 19.0 forever. So a compatibility-mode app can only infer it’s running on 26.0 or later but not determine the actual version. But hopefully that’s sufficient for the OP since it doesn’t sound like this drives any core app functionality.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
The menu can't be shown in background process in MacOS 26(beta)
After I upgraded to MacOS 26(beta), my program caused the system to pop up a window as shown in the following picture. My application is a process with only a tray icon. I found that my tray icon is not displayed in the current version, even though I clicked the Always Allow button. Here are my questions: 1.Will this related feature remain consistent in the official release? 2.How can I create a cmd process that only displays a system tray icon (no main window) like Alfred?
2
0
71
Jul ’25
Account Termination Notice Without Clarification – Seeking Help and Response
Hi everyone, I’m an indie developer and recently published our first app on the App Store. It was an exciting milestone, but on April 4, 2025, after the app had been live for about 1–2 weeks and one update had been pushed, we received a notice from Apple stating that our app had been removed from the store and that our developer account is scheduled for termination within a month. Understandably, this was incredibly alarming—but we stayed calm, carefully read through the allegations, and tried to handle the situation with patience and professionalism. The reason given was: App submissions from your account have engaged in concept or feature switch schemes to evade the review process, such as dynamically populating different app content after review, submitting apps with hidden features, repeatedly submitting misleading apps, and/or submitting apps with concrete references to content that you are not authorized to provide or is otherwise not appropriate for the App Store. This was cited as a violation of Secti
2
0
111
Apr ’25
Payment not completed error with Apple Pay on Sand box
Hi, i was integrating apple pay on my application for which I have setup all the required certificated and domain mapping. Also I hv added tester account [sandbox] user whose login I can use to test this functionality on mobile device. Now, all things are ready but when I try to click on apple pay button it opens cards page with my demo card added in it and after 5sec processing it shows Payment not completed with error symbol and pop up appears with this website was not able to complete payment. Please try Again. I'm not able to understand where these things are failing. Can somebody guid me through it?
11
0
7.7k
Aug ’22
Reply to Does Core Spotlight work with document-based apps?
Thank you again for the thoughtful response. This is the high-level solution I've ended up with. On the whole, I think this all sounds reasonable. Throwing out a few potential tweaks/details: Search is required for in-app use only; system-wide search is not. If system-wide search would be a nice-to-have, then I suspect you could pull out the important parts (meaning, the details a user might actually search for system-wide) of your app-level indexer and use that to implement CSImportExtension. When a document's URL changes, it updates the domainIdentifier of its searchable items. When you're dealing with long-term file references, you need to think bookmarks, NOT URLs. That's partly because of security scope, but it's mostly because, in practice, file paths have one of the characteristic patterns that is FABULOUS at creating bugs. That is: On any given system, file locations and general configuration are stable enough that the fully path to any given location tends to not change very often. In real-w
Topic: App & System Services SubTopic: General Tags:
Jul ’25
InferenceError referencing context length in FoundationModels framework
I'm experimenting with downloading an audio file of spoken content, using the Speech framework to transcribe it, then using FoundationModels to clean up the formatting to add paragraph breaks and such. I have this code to do that cleanup: private func cleanupText(_ text: String) async throws -> String? { print(Cleaning up text of length (text.count)...) let session = LanguageModelSession(instructions: The content you read is a transcription of a speech. Separate it into paragraphs by adding newlines. Do not modify the content - only add newlines.) let response = try await session.respond(to: .init(text), generating: String.self) return response.content } The content length is about 29,000 characters. And I get this error: InferenceError::inferenceFailed::Failed to run inference: Context length of 4096 was exceeded during singleExtend.. Is 4096 a reference to a max input length? Or is this a bug? This is running on an M1 iPad Air, with iPadOS 26 Seed 1.
5
0
323
Jul ’25