Search results for

Popping Sound

19,356 results found

Post

Replies

Boosts

Views

Activity

"Application" is accessing your screen notification
Hi! I'm developing an application based on Chrome that needs to take regular screenshots of webpages. Under the hood (actually Chromium), it uses SCScreenshotManager to capture screenshots automatically (without user interaction). I've noticed that regularly using this API triggers a user notification saying: Your Screen 'AppTest' has accessed your screen and system audio 3,594 times in the past 30 days. You can manage this in Settings. How can I prevent this notification from appearing? Are there any specific entitlements(Or configuration of SCScreenshotManager) that I can use? Thanks!
2
0
113
May ’25
Reply to How can i create a WIFI Hotspot in iphone
It sounds like you’re looking for an API to configure Personal Hotspot programmatically. There is no such API. If you’re working with Wi-Fi accessories, I have lots of advice in Extra-ordinary Networking > Working with a Wi-Fi Accessory. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
May ’25
Indicate Packet Loss With AVAudioConverter for OPUS Decoding
I'm using an AVAudioConverter object to decode an OPUS stream for VoIP. The decoding itself works well, however, whenever the stream stalls (no more audio packet is available to decode because of network instability) this can be heard in crackling / abrupt stop in decoded audio. OPUS can mitigate this by indicating packet loss by passing a null pointer in the C-library to int opus_decode_float (OpusDecoder * st, const unsigned char * data, opus_int32 len, float * pcm, int frame_size, int decode_fec), see https://opus-codec.org/docs/opus_api-1.2/group__opus__decoder.html#ga9c554b8c0214e24733a299fe53bb3bd2. However, with AVAudioConverter using Swift I'm constructing an AVAudioCompressedBuffer like so: let compressedBuffer = AVAudioCompressedBuffer( format: VoiceEncoder.Constants.networkFormat, packetCapacity: 1, maximumPacketSize: data.count ) compressedBuffer.byteLength = UInt32(data.count) compressedBuffer.packetCount = 1 compressedBuffer.packetDescriptions! .pointee.mDataByteSize = UInt32(d
1
0
815
May ’25
Reply to Why is using clonefile for a folder strongly discouraged?
Things went long, so you get a Part 1... Is FileManager using cloning behind the scenes? Yes. More specifically, most of our copy APIs are actually built on top of copyfile, and copyfile is what actually handles file cloning. Or more exactly how guaranteed are we it will use it? It basically uses it everywhere it can. That includes both the obvious case of copying within a volume but also includes less obvious cases like copying a hierarchy that includes clone between two APFS volumes. Generally speaking, you should get the same results as what you'd get copying using the Finder*. *The one exception I can think of is copying files within an SMB server which will definitely be slower and which I believe will also bypass cloning. You can read more about that particular issue here. (I know it does, I tried manually cping the resources and it was thousands of times slower.) Just to clarify, I assume you meant manually copying the contents (using open/read/write), not using the cp command? cp also uses copyfile, s
Topic: App & System Services SubTopic: Core OS Tags:
May ’25
WebView permission
Hi, I'm using a webview in Swift, where I load an html file locally. Basically I have an angular project built and loaded directly into my app bundle. The webview requires the use of the camera. I request permissions via and javascript, the pop-up appears, I accept the permissions and the app works correctly. Only that after a certain number of seconds, the permissions are requested again. It's as if the webview doesn't cache the accepted permissions. Is this normal behavior?
1
0
100
May ’25
Reply to iOS 18; Can no longer connect app to camera over Ad Hoc insecure network
@DTS Engineer , I don't assume that we have correctly identified the problem, But to us it seems like a failed negotiation for TCP SYN, i.e., Apple network framework not doing fallback to a basic TCP SYN. Then it was our idea/hope to get a domain expert from Apple to give their five cents on it. But it sounds like that is not possible before I try that disableECN and so I will try to look into that one day... 🥹 Cheers!
May ’25
Reply to Apple Notarization: Long running notarization jobs / day limitation
[quote='839507022, st-gab, /thread/783347?answerId=839507022#839507022, /profile/st-gab'] today I tried our automation for Notarization and it worked fine again in expected times [/quote] OK, so things are back to normal again? If so, that makes this sound more like the “in-depth analysis” case. Still, I’ll do some digging, just to confirm. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Notarization Tags:
May ’25
Reply to terminal fulldisk access fails for tmutil latestbackup
Sounds like you have tried everything I would try. Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports. Bug Reporting: How and Why? has tips on creating your bug report.
May ’25
Reply to CallKit does not activate audio session with higher probability after upgrading to iOS 18.4.1
Our app uses CallKit with WebRTC to establish VoIP connections. However, on iOS 18.4.1, CallKit no longer triggers: func provider(_ provider: CXProvider, didActivate audioSession: AVAudioSession) We're currently comparing the occurrence rate across different iOS versions to better understand the impact. Could you please help analyze the root cause of this issue? I can't tell you what the exact issue issue is but what typically causes this is that the app itself activated the audio session itself. That can result in one way audio because the system ends up allowing playback activation but blocks recording (since that's what the system actually protects against). Having and active audio session means that CallKit cannot activate the audio session (since you can't activate an active audio session), which then means it doesn't call didActivate. That leads to here: Our app uses CallKit with WebRTC to establish VoIP connections. The biggest issue with using any kind of l
Topic: App & System Services SubTopic: General Tags:
May ’25
User charged, but .userCancelled returned
Hello, Is anyone else seeing Purchase.PurchaseResult.UserCancelled, despite a successful transaction? I had a user notify me today that he: Attempted a purchase Entered payment credentials Was asked to opt in to email subscription notifications Opted In Was shown my app's User Canceled Purchase UI Attempted to repurchase Was alerted that he was Already Subscribed I have adjusted my code to check Transaction.currentEntitlements on receiving a .userCancelled result, to avoid this in the future. Is this logically sound? Here is my code - please let me know if you see any issues: func purchase(product: Product, userId: String) async throws -> StoreKit.Transaction { let purchaseUUID = UUID() let options: Set = [.appAccountToken(purchaseUUID)] let result = try await product.purchase(options: options) switch result { case .success(let verification): guard case .verified(let tx) = verification else { throw PurchaseError.verificationFailed // Show Error UI } return try await processVerified(tx) case .userC
1
0
138
May ’25
"This item is currently being modified. Please try again later." - Anyone seen this before?
Hi guys,For the past few days our users have been reporting that whenever they try to purchase an IAP they get the following error: This item is currently being modified. Please try again later. [OK]Now nothing changed from our end as far as we know, IAP has been working up until 3 days ago and all of a sudden this error keeps popping up.Has anyone else encountered this problem before? How did you go about fixing it? Thanks in advance!Additional Note: We tested the app and IAP in sandbox env and everything works... We tried everything we could think of but to no avail. Any help will be greatly appreciated guys.
47
0
96k
Sep ’22
Reply to Symbolicating kernel backtraces on Apple Silicon
I was wondering if you've had a chance to take a look at FB17497530 yet? I spent an hour or so looking at it today and have a few thoughts. First off, something is clearly happening in the VM system. I don't know what the issue might actually be, but 200+ thread are blocked in vm_page_wait and I didn't find any thread that was showing clear progress in the VM system. How much space is available on the boot volume and is there ANY possibility That it's becoming constrained? Like most modern OSs, the system is going to fail if it actually exhausts available swap. There are systems in place to mitigate that (first by warning the user, then by terminating processes) but there isn't any way to guarantee that will work and it's possible that some nuance of your implementation is bypassing that those protections. Related to that point, what's the content you're actually decompressing? One (or several) large files or a bunch of small ones? The thought that crossed my mind is that it's possible decompressing a very la
Topic: App & System Services SubTopic: Core OS Tags:
May ’25