In the Mail settings one can choose one of the default sounds located at /System/Library/Sounds. Playing them is easy, e.g. with NSSound(named: Purr)?.play(), but how can I show a localized name for those sounds as Mail does? I couldn't find any way of getting a localized name. Would I have to manually translate each one to each supported language?
Search results for
Popping Sound
19,600 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
When a different sound is selected in a TableView, the name of the sound is added to a variable. In a different view controller, it is supposed to access the variable and play the sound when a button is pressed, though it instead just plays the same sound. Here is the code:FirstSoundController (Plays Sound):class FirstViewController: UIViewController { var someVariable = SecondViewController() @IBAction func activation(sender: UIButton) { if sender.titleLabel!.text == ACTIVATE { sender.setTitle(DEACTIVATE, forState: UIControlState.Normal) var someSound = NSURL(fileURLWithPath: NSBundle.mainBundle().pathForResource(someVariable.soundSelected, ofType: mp3)!) audioPlayer = AVAudioPlayer(contentsOfURL: someSound, error: nil) audioPlayer.prepareToPlay() audioPlayer.play() } else { sender.setTitle(ACTIVATE, forState: UIControlState.Normal) audioPlayer.stop() }}SecondViewController (Shows table of Sounds):class SecondViewController: UIViewController, UITableViewD
I have referred to this Stack Overflow thread SwiftUI How to Pop to root view - https://stackoverflow.com/questions/57334455/swiftui-how-to-pop-to-root-view However it doesn't work for my case, of course no answer fits each persons use case perfectly so one always has to modify the answer slightly but of course keeping to the overall outline of the solution. The solution I went with is use an ObservableObject and set it as an EnvironmentObject of the root view. The navigation stack grows by 4 views: RootView().environmentObject(AppSettings.shared) FirstView() SecondView() ThirdView() FourthView() The NavigationLink isActive state for the FirstView is defined in AppSettings.shared, all the other states are found in the subsequent view and not in AppSettings. For example: FirstView -> SecondView the SecondView isActive state is defined in the ViewModel of the FirstView, and so on and so forth. What I am trying to achieve is to pop to RootView from the FourthView. So on the FourthVi
Hello! I was just interested to find out on how to add a pop up we see in the bottom right of the playground in iPad swift playgrounds app. How do we add a link in the pop up to the next page?Thanks!
I have an iPhone 7 and I installed iOS 12 on it. In iOS 11, in Facetime, I could choose between FT audio or FT video. Now, I don't see that option to choose between making an audio call or video.
Hi Steve,We're actually in the process of updating the AVAE samples adding new functionality, fixing bugs etc. so it's a good time catching this now so we can update everything at once as the NSAssert's are removing critical lines of code from being compiled in with the release build which is of course bad.As for the popping...engineering informed me that this is a known issue where fades are not applied between buffers that get interrupted or stopped resulting in the popping very apparent with low frequency audio. Your work around is fine but annoying to have to deal with - we're hoping to address the issue in a future release (but as you know it's impossible for us to be more specific regarding when a fix will be available).
Topic:
Media Technologies
SubTopic:
Audio
Tags:
Hi, I want to know if I can use core audio to do live audio streaming. I want to know how I can link to ice cast or a shout cast server. Thank U.
I hate that when I turn my head I moves the sound toward facing forward. When I turn my head I want the sound to be the same. I understand why you did it but make it a feature you can turn off #betauser
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
I know through documents on the official website that there are only three opportunities a year. If the user deletes the app and then downloads it again, will the app review induction pop-up appear again?
Since updating to iOS 26, audio recordings made through apps like Snapchat and Instagram sound broken, saccaded and choppy. The issue happens with or without headphones. It feels like the microphone is either misused or filtered too aggressively by the app, leading to a stuttering or “cut-off” effect during speech. This doesn’t happen when recording audio in the Voice Memos app or the Camera app — only in social media apps.
Topic:
Community
SubTopic:
Apple Developers
Hello together,how can I make a pop up showing up while launching the app and asking the user whether he wishes to see it the next time he starts the app or not?Thank youCX8060
The Player object available in TVJS presents a really nice UI for audio playback, is it possible to get this viewcontroller as a native component as well?For example the video version is available through AVPlayerViewController, but I can't find the equilevent audio version.
Hi I am developing an app which plays spoken audio. I experience problems when I want to play audio over the car system with Bluetooth. The Bluetooth connection is fine and other audio apps (e.g. Spotify) just work fine. When I want to play audio with my app, I can start audio playback successfully but I hear no sound. It works with the device speakers and interestingly even with another mobile Bluetooth sound box. Both the car system and the mobile soundbox use A2DP. Below you can find the relevant method that starts the audio playback. The full app can be found at https://gitlab.com/spiri-voyage/spiri-test. func play() { if playbackState == .Stopped { let url = Bundle.main.path(forResource: Kolinbrunnen, ofType: mp3) let item = AVPlayerItem(url: URL(fileURLWithPath: url!)) player.replaceCurrentItem(with: item) let audioSession = AVAudioSession.sharedInstance() do { try audioSession.setCategory(.playback, mode: .spokenAudio) addInfo(Audio
Has anyone had audio issues using voip on ios 11?
I am looking for an explanation, bug report or viable workaround regarding degraded audio quality when a html audio element is used as a source of a web audio graph. The issue seems to occur both when using chrome or safari at least on ios 12.1A recording of the introduced noise can be found here: https://st-h.github.io/test/ios_playback_noise.mp3A basic page to reproduce the issue can be found here: https://jsfiddle.net/st___h/36w7vxn2/27/showsource code is available here: https://jsfiddle.net/st___h/36w7vxn2/27Same code runs without any issue on macOS desktop and android devices, however leads to issues every now and then on every iOS I have tried. Please not that in order to reproduce the issue, a few reloads of the page might be required as the issue is not present every time audio is played back.I have opened a similar question over at stackoverflow, which currently hasn't received much attentionhttps://stackoverflow.com/questions/54982847/crackles-and-noises-when-play