Search results for

file uri scheme

79,826 results found

Post

Replies

Boosts

Views

Activity

Reply to WKWebView isBlockedByScreenTime
I recommend filing an enhancement request asking for documentation for these items. 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.
Topic: Safari & Web SubTopic: General Tags:
5d
Reply to For receiving audio in PushtoTalk, channelManager(_:didActivate:) not called when app receives first push after backgrounding
And when PTT notification arrives, saving the URL to the audio file in incomingPushResult, then downloading and playing that sound using AVAudioPlayer when didActivate is executed. It's working fine on the foreground, but when the app goes to the background, incomingPushResult is called as expected, but didActivate is not for some reason. Am I missing anything in my setup? Yes. The issue here is that you can't use AVAudioPlayer, as it does its own AudioSession activation. More specifically: It's working fine on the foreground. It works in the foreground app because the foreground app has inherent access to the audio system and can do whatever it wants. However: when the app goes to the background, incomingPushResult is called as expected, but didActivate is not for some reason. ...what happens in the background is that the same activation attempt then occurs and either fails entirely or succeeds (partially) but is then disrupted by callservicesd's own activation. Unfortunately, you'll ultimately end
Topic: App & System Services SubTopic: General Tags:
5d
fetchSavedGamesWithCompletionHandler
Hi!I have a problem with fetchSavedGamesWithCompletionHandler function.My game save the savegame into iCloud using GKLocalPlayer saveGameData, and i can get the list of savegame files, using fetchSavedGamesWithCompletionHandler method, and all work fine.But when i uninstall and install the game, and i try to get all savegame files with fetchSavedGamesWithCompletionHandler, this return me 0 files. But if i retry a few seconds after, then the game return the correct list of files.I don't know because it doesn't work.Thanks,Ruben
6
0
3.1k
Oct ’20
Reply to Zsh kills Python process with plenty of available VM
I understand now, thanks for your patience. Unfortunately this means that the only way for this to work is having the Gurobi libraries' code, and incorporate mmap there, because that's where the memory-heavy node-files are created and put in memory. Too bad this is not open-source software, and therefore this is impossible. Is there an alternative to mmap to perhaps squeeze some extra space in the disk? I was wondering if renicing the process to, say, -20, can have some indirect benefits...
5d
Reply to BGTaskScheduler Terminated due to memory issue
Thanks so much again for your time and effort, Kevin! I did look into the documentation and tried different approaches, but none seem to work. I also found a BLE sample project on the Apple Developer Documentation, and it is also terminated after some time. Yes, and that's expected. Across most/all our background APIs, the focus isn't on ensuring that processes never terminate but is instead on relaunching the process and returning it to normal operation. Case in point, this is the real problem here: However, unlike the documentation states, I wasn't able to implement State Restoration and receive Characteristic updates once the app is terminated because of Memory Pressure. Why? Is the problem that you're not being relaunched or is state restoration failing? What happens from the accessory side? One side note here is that what triggers the relaunch is activity from the BLE accessory, so if your accessory never generates activity back to the iOS device, then you may not relaunch. May I suggest updating the doc
5d
Reply to Controlling UIDesignRequiresCompatibility via Remote Config
Thanks for the post. Very interesting. My 5 cents if I may. It is crucial to prioritize user experience by ensuring consistency and stability in production environments. This is why feature flags, such as UIDesignRequiresCompatibility, are typically controlled by developers rather than end-users and are not exposed for arbitrary user-based toggling in production builds. This key allows developers to test the feature but does not provide a way to deploy it as it can be turned off, as explained in the documentation. Therefore, developers should refrain from rolling out new designs broadly before testing them thoroughly. Controlled feature flags enable developers to incrementally roll out new designs to ensure stability. By monitoring feedback and performance, developers can address issues before a full deployment. Apps submitted to the App Store should not contain hidden features or debugging options that alter the intended user experience for the general public. In development, set up different build schemes
5d
Reply to Zsh kills Python process with plenty of available VM
Apologies if I misunderstand things completely. I am no developer, so memory management is completely foreign to me. OK. So, stepping back for a moment, I think what's helpful to understand is that one of the VM system’s basic primitive operations is designate that a range of address space corresponds to the contents of a file. That process is called mapping a file and is how, for example, executable files are loaded into memory so that they can be executed. That is, what part of what running an executable actually means is map the contents of that file into memory and start executing at a specific point. Similarly, the basics[1] of swap files are simple create a file and designate which parts of it correspond to specific memory ranges. Mapping VM address space to file ranges with what mmap() does. That is, a low-level mach memory function like vm_allocate() (what malloc calls within its implementation): https://web.mit.edu/darwin/src/modules/xnu/
5d
AVAudioRecorder loses audio recorded before interruption
Hi everyone, I'm running into an issue with AVAudioRecorder when handling interruptions such as phone calls or alarms. Problem: When the app is recording audio and an interruption occurs: I handle the interruption with audioRecorder?.pause() inside AVAudioSession.interruptionNotification (on .began). On .ended, I check for .shouldResume and call audioRecorder?.record() again. The recorder resumes successfully, but only the audio recorded after the interruption is saved. The audio recorded before the interruption is lost, even though I'm using the same file URL and not recreating the recorder. Repro: Start a recording with AVAudioRecorder Simulate a system interruption (e.g., incoming call) Resume recording after the interruption Stop and inspect the output audio file Expected: Full audio (before and after interruption) should be saved. Actual: Only the audio after interruption is saved; the earlier part is missing Notes: According to the documentation, calling .record() after .pause() should
1
0
240
5d
Reply to ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it
Thanks for the post and the details, the error is not about having the latest version of Xcode, looks like you do have it as Xcode Version 26.2 (17C52). The error message you're encountering, ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing., indicates that your app submission to App Store Connect is missing a required folder named SwiftSupport. So this is extremely interesting to me for sure. When archiving your app, ensure there are no build warnings about folders. Go to > , and then check the Organizer to ensure everything is correctly packaged. If your app uses Swift Package Manager, ensure that all packages are updated and correctly integrated. Sometimes issues arise from improperly configured packages? I believe this issue is always about packages you are using. Can you check that? read until the end where a post from an Apple engineer will give you more information. If you're manually managing your app bundle, ensure the folder is present in the archive's structure. It should b
5d
P3 Display to XYZ Color Space Conversion
When I use the ColorSync Utility to convert Display P3 color (1, 0, 0) to an XYZ color, the result is (0.5151, 0.2412, -0.0011). I expected that result because that is identical to the red colorant tristimulus value in the Display P3.icc file.When I use the CGColor converted method to do the same, the XYZ color is approximately (0.5151, 0.2412, 0.0). Note that the third element is 0.0 whereas it is -0.0011 when using the ColorSync Utility. I have printed out the Z component to 16 digits of precision, and Z is all 0s. It appears that the CGColor converted method is clamping the result from 0 to 1.My questions are:1. Which conversion is correct? The ColorSync utility or the CGColor converted method?2. I am not a color specialist, but I thought that the XYZ components should never be negative. If so, is the colorant tristimulus value in the Display P3.icc file wrong?3. Because CGColor clamped the Z component to 0, the XYZ color cannot be converted back exactly or closely to the Display P3 color (1, 0, 0
3
0
3.4k
5d
Reply to PSVR2 controller button quirks
Thank you Justin. There's one more quirk I've observed - Apple doesn't expose the analog proximity sensors on the trigger or grip buttons. These are the sense part of Sony's Playstation VR Sense Controller branding ;) In OpenXR / SteamVR with the Playstation VR2 these paths as independent triggers i.e. /user/hand/right/input/r1_sensor, /user/hand/right/input/r2_sensor, /user/hand/right/input/l1_sensor, /user/hand/right/input/l2_sensor, corresponding to the grips & triggers. Yes, this means the l2/r2 triggers have TWO analog capabilities - one for the analog relative touch/proximity, and one for the analog degree of trigger pull (which can be accessed via the .value on the button). Since this is an entirely new thing, should I update my existing feedback or file a new one?
Topic: Spatial Computing SubTopic: General Tags:
5d
Source view disappearing when interrupting a zoom navigation transition
When I use the .zoom transition in a navigation stack, I get a glitch when interrupting the animation by swiping back before it completes. When doing this, the source view disappears. I can still tap it to trigger the navigation again, but its not visible on screen. This seems to be a regression in iOS 26, as it works as expected when testing on iOS 18. Has someone else seen this issue and found a workaround? Is it possible to disable interrupting the transition? Filed a feedback on the issue FB19601591 Screen recording: https://share.icloud.com/photos/04cio3fEcbR6u64PAgxuS2CLQ Example code @State var showDetail = false @Namespace var namespace var body: some View { NavigationStack { ScrollView { showDetailButton } .navigationTitle(Title) .navigationBarTitleDisplayMode(.inline) .navigationDestination(isPresented: $showDetail) { Text(Detail) .navigationTransition(.zoom(sourceID: zoom, in: namespace)) } } } var showDetailButton: some View { Button { showDetail = true } label: { Text(Show detail) .paddi
Topic: UI Frameworks SubTopic: SwiftUI
14
0
969
5d
Reply to application(_:didFinishLaunchingWithOptions:) not called on MDM iPads after overnight idle — app resumes without cold start
Hi Kevin, Q - How we know didFinishLaunchingWithOptions is not being called at user-visible launch time We agree that the most important question here is when the app was actually initialized versus when the user opens it. To address this, we have implemented explicit lifecycle logging at the very earliest entry points of the app, including: A log at process start Logs at the very beginning and end of application(_:didFinishLaunchingWithOptions:) Logs for all other UIApplication lifecycle callbacks We log all lifecycle events (including process start and didFinishLaunchingWithOptions) using a dedicated serial queue and persist them directly to disk. In simplified terms, our logging flow is: Logs are written via a serial logQueue Each log entry is appended to a file in the app’s Documents directory Logs include: ISO timestamps Explicit lifecycle markers The process ID (pid) This means: Logs are persisted to disk, not memory Logs survive suspension and backgrounding We do not clear or rotate logs on ba
5d
Reply to My Notifications Message Extension doesn't seem to run after distributing my app via Enterprise IPA
I have verified that in Xcode, my main target Runner has a bundle identifier of com.mycompany.pushnotifications and my extension target has a bundle identifier of com.mycompany.pushnotifications.pushnotificationsmessageextension I unzipped my .IPA file and see Payload/Runner.app/pushnotificationsmessageextension.appex In my uncompiled app, I looked in the pushnotificationsmessageextension/Info.plist file and see the following NSExtension NSExtensionPointIdentifier com.apple.usernotifications.service NSExtensionPrincipalClass $(PRODUCT_MODULE_NAME).NotificationService
5d