Search results for

Popping Sound

19,350 results found

Post

Replies

Boosts

Views

Activity

Popped navigation view is still being updated
I'm having a problem with old views that have been popped from the navigation stack still seems to be updated in the background even though they are not visible or on the navigation stack. I do the following: The main view is pushing a sub view on the navigation stack. The sub view becomes visible. The user uses the back arrow to go back, popping the sub view from the navigation stack. The main view is now visible. The main view updates and this seems to cause the sub view to also update, even though it shouldn't be active. The problem I have is that when the data model is being updated the sub view crashes since it's trying to access data that doesn't exist anymore. Sample code: import SwiftUI struct ContentView: View { var body: some View { TestView(items: [1, 2, 3, 4, 5]) } } struct TestView: View { @State var items: [Int] var body: some View { NavigationView { VStack { Text(Hello) List { ForEach(items, id: .self) { item in NavigationLink(destination: SubView(items: self.$items, number: i
3
0
2.7k
Jun ’20
Reply to Crackling audio w aggregate device after Monterey upgrade
For me, I like to create an aggregate device so I can use 2 sets of headphones inside of Logic Pro X to mix my songs with whatever artist is in my studio. I like for them to hear the instrumental and their voice while recording, and I also want to be able to hear them as they record simultaneously through the use of the aggregate device that I create with the audio Midi Setup on the computer. So I add in my case my Scarlett 2i2 audio interface along with my pair of headphones(it should pop up as External Headphones inside of the audio Midi Setup app) which I plug directly into my MacBook and my artist that I'm recording will use the headphones that plug directly into the audio interface. When you do this however, you have to make sure to tick Drift Correction for both of the devices that are being linked or however many devices you may have. If you only have 1 ticked, then you will experience weird crackling noise when you try to playback things. As soon as I ticke
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’22
Lightning audio
So noticed this on beta 2 and reported it through bug reporter. Having come up with an interim solution, using a bluetooth adpater instead, I decided to see if Beta 4 had corrected the issue - no such luck. In my one vehicle I have a 3.5mm to 30 PIN DOCK (from the old days) and the gets adapted using the Apple 30PIN to Lightning adapter. With 10.3.3, the audio routes through that setup into my aux port on my stereo without issue. However, with 11 beta 4, it doesn't work still. You don't even see the dock connector as a possibility for audio routing within the music app. Interesting enough, I plugged into our other vehicle that simply use a standard Lightening to USB cable and it works fine.
12
0
4.0k
Jul ’17
A "Window" Suspicious Pop-up Element In The Startup
Today I realized that when I start up my iMac (Big Sur 11.1) It usually takes longer than usual to load the startup applications and there is a suspicious element that is an empty window called Window then it disappears as quickly from the Dock as the element itself, which is a quarter-space screen, so fast that I can't get a screenshot to show you. I have tried disabling all the initial apps one by one, and still this item keeps popping up. Anyone know if this is normal? A Big Sur anomaly perhaps? Thank you and I would appreciate your help to solve this problem.
0
0
377
Jan ’21
Record Audio Passively
For an app built on ResearchKit, is it possible to record audio at pre-programmed intervals throughout the day? Does anyone have examples of this? The patient would actively consent to the audio recording prior to study start date.Any advice would be greatly appreciated- thank you!
0
0
462
Feb ’19
Using condensed version of peek view and pop to full view
I have just implemented the peek and pop feature of 3D Touch into the table view of my app. I am using a different, more condensed view controller for the peek view, and I would like the pop to take the user to the full version of the view (in a similar style to the Instagram app).I am trying to figure out how I could do this? I can't see how I could do it in the code when I instantiate the peek, so the only thing I could think of is to segue immediately to the full view after the pop?Anyone have any ideas?This is the sort of thing I mean:http://i.stack.imgur.com/td2m8.png
1
0
434
Sep ’15
Bundle.main.url(forResource: sound, withExtension: "wav", subdirectory: "Resources/Sounds") returns nil
Hi everyone, I'm trying to play sounds in my playground, but whenever I try to get the path, nothing comes out. I've tried everything possible to fix the error, but somehow it doesn't work Here my Sound File: import Foundation import AVFoundation var audioPlayer: AVAudioPlayer! /// Play sounds /// - Parameter sound: Sound filename func playSound(sound: String) { let url = Bundle.main.url(forResource: sound, withExtension: wav, subdirectory: Resources/Sounds) guard url != nil else { print(error) return } do { audioPlayer = try AVAudioPlayer(contentsOf: url!) if !audioPlayer.isPlaying { audioPlayer?.play() } else { audioPlayer?.stop() } } catch { print(error) } }
4
0
1.3k
Apr ’23
Custom sounds
I have an app that has been working fine but since iOS10 the custom sound of an APNS does not seem to work.This is my APNS payload...{aps:{alert:{loc-args:[TEST ALERT,TEST,TEST/TEST],loc-key:APNS_MSG2},sound:cabinbong.aiff,badge:0,category:testAlert},custom:{a:b,c:0,d:54.1}}
5
0
819
Sep ’16
Periodic sounds from the background
I appreciate that very similar questions have been asked already, but users of my app have requested certain functionality that simply doesn’t seem possible given the current background mode regulations in iOS. However, many similar apps do have this functionality. So, could it be that I am missing something.Basically, a meditation timer app needs to be able to play bell sounds periodically. Some users, those who meditate for long periods of time for example, like to switch their screens off to preserve the battery charge, and because of that the app needs to play these bell sounds from the background.So far, my solution has been to use Local Notifications to play the sounds as they can be timed accurately and also can play custom sounds.However, there are two issues that my users are unhappy about:1. They want the bell sounds to play even when the silent switch is on (they don't want to be disturbed by other notifications, but do want the meditation bells)2. They want the
0
0
955
Mar ’19