Search results for

SwiftUI List performance

50,605 results found

Post

Replies

Boosts

Views

Activity

Pending Termination under Section 3.2(f) – Seeking Guidance on Additional Steps for App Review Board
Hello everyone, We are the developer of PhotoMagic – AI Photo Editor, and we would appreciate guidance from the community regarding a pending enforcement case currently under review by the App Review Board. Case Information Case Number: 102812414888 App ID: 6746860005 Notice Date: January 25, 2026 Current Status: Pending review by the App Review Board Reason cited: Section 3.2(f) of the Apple Developer Program License Agreement The notice stated that our app submissions were considered to have “repeatedly violated the App Review Guidelines in an attempt to evade the review process.” Background & Acknowledgement Upon receiving the notice, we immediately conducted a comprehensive internal audit. During this process, we identified that certain user-uploaded template content (for example, templates involving concepts such as “kiss” or “hug”) posed potential policy risks. We would like to clearly state that we did not intentionally hide or disguise content to evade App Review. However, we fully acknowledge tha
1
0
129
2w
Reply to ModelEntity position values are stale after world recenter (Crown long press)
That is weird! I haven't run into but maybe we have a new bug. Can you share any code that shows how you're reading the position data after recenter? Is there any event, notification, or callback that fires when the world is recentered due to a long press of the Crown button? Yes there is! Check out onWorldRecenter. It may not fix this issue, but you could use it to work around it. https://developer.apple.com/documentation/swiftui/view/onworldrecenter(action:)
Topic: Spatial Computing SubTopic: General Tags:
2w
Reply to Cannot preview in this file – SwiftUI Preview referencing deleted simulator
Hi, Sorry to hear you are having trouble using previews. A few things you could try: Run xcrun simctl --set previews list to see the list of previews sims. Perhaps you'll see the UUID list there Similarly if you wanted to delete all the previews sims run xcrun simctl --set previews delete all If you are still seeing issues we'd suggest filing a feedback report We will need the diagnostics Xcode Previews generates in order to help us understand the error the previews system is encountering. Install the logging profile using instructions available here: https://developer.apple.com/bug-reporting/profiles-and-logs/?name=swift On your mac running Xcode, and on your physical preview device (if you are using one). Install the logging profile using the following instructions on your mac running Xcode; and if you are using one, your physical preview device (iOS or visionOS): https://developer.apple.com/bug-reporting/profiles-and-logs/?name=swift Then when you reproduce the problem in Xcode:
2w
Do Vendor Listing Plans With Feature Limits Require In-App Purchase?
Hello, I’m seeking clarification on In-App Purchase requirements for a marketplace vendor app offering real-world, offline services. We plan to offer paid vendor listing plans (Free, Silver, Gold, etc.) that provide business benefits such as increased visibility, analytics, and also include feature limits like the number of images a vendor can upload to their business profile and enhanced dashboard views. These plans are intended to support vendors’ real-world businesses and do not provide digital content to consumers. Does gating vendor features such as image upload limits or dashboard capabilities require Apple In-App Purchase under App Store Review Guideline 3.1, or can such vendor plans be processed using a third-party payment gateway as account-based service tiers?
1
0
43
2w
Can TextField handle undo?
I'm struggling to understand whether TextField handles undo by itself, or how to properly handle it myself. In a macOS app with a SwiftUI lifecycle, in a DocumentGroup scene, I'm using both TextEditors and Textfields. The text editors handle undo out of the box, with undo coalescing. The text fields seem not to. However, on occasion, they do create undo points, leaving me confused as to what conditions are needed for that to happen. Is there a way to reliably get text fields to handle undo on their own? Or, how should I implement typing undo, including undo coalescing, manually?
Topic: UI Frameworks SubTopic: SwiftUI
9
0
173
2w
Inquiry about Low-Latency Frame Interpolation & Super Resolution using VTFrameProcessor
Hello, I have implemented Low-Latency Frame Interpolation using the VTFrameProcessor framework, based on the sample code from https://developer.apple.com/kr/videos/play/wwdc2025/300. It is currently working well for both LIVE and VOD streams. However, I have a few questions regarding the lifecycle management and synchronization of this feature: 1. Common Questions (Applicable to both Frame Interpolation & Super Resolution) 1.1 Dynamic Toggling Do you recommend enabling/disabling these features dynamically during playback? Or is it better practice to configure them only during the initial setup/preparation phase? If dynamic toggling is supported, are there any recommended patterns for managing VTFrameProcessor session lifecycle (e.g., startSession / endSession timing)? 1.2 Synchronization Method I am currently using CADisplayLink to fetch frames from AVPlayerItemVideoOutput and perform processing. Is CADisplayLink the recommended approach for real-time frame acquisition with VTFrameProcessor? If t
0
0
296
2w
Reply to .glassEffect() renders dark on device but works on simulator - TestFlight doesn't fix it
Hello Jmckinney, The darkened color of the button during Dark Mode is expected behavior. When placed in front of a brightly-colored gradient like in your test view, or a lightly-gray-colored background like in your sample app view, this will be the result. To fully support Dark Mode, please consult the Choose adaptive colors for your UI section of the Supporting Dark Mode in your interface guide. (The overall guide is for UIKit, but there are general principles and practices that are also applicable for SwiftUI.) The WWDC 2019 talk Implementing Dark Mode on iOS might also be helpful. Finally, the Dark Mode entry in the human interface guidelines is definitely worth a look. Thank you for your patience, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Cannot preview in this file – SwiftUI Preview referencing deleted simulator
I'm running Xcode 26.2 (17C52). After deleting all simulators and creating new ones, SwiftUI Preview stopped working. Xcode reports: “Simulator [D774B214-XXXX-XXXX-XXXX-XXXXXXXX8288] failed to boot and may have crashed.” However, when I list all available simulators using xcrun simctl list, there is no simulator with that identifier. It seems Xcode is still referencing a previously deleted simulator. I have tried: Deleting all simulators again Creating new simulators Restarting Xcode and the system But the issue persists and Preview still fails to launch. Has anyone encountered this issue or knows how to clear the cached simulator reference used by SwiftUI Preview?
2
0
85
2w
Reply to My app seems to cause Time Machine errors
I set the PDFDocument to nil when I close it. Maybe review how you're doing that. The NSDocument teardown process is not straightforward. As the documentation says, the close() method doesn't always get called. This is a general problem throughout the UI APIs. The init, setup, layout, display, hide, teardown, dealloc process can be quite delicate. This is most apparent with NSDocument, where everything either happens at an inconvenient time, or simply not at all. It's better to rely on major events like NSWindowDelegate windowWillClose to perform your teardown. Make sure your teardown logic can be safely called repeatedly, and then call it again in places like close() and dealloc. The Debug Memory Graph tool is very useful. Just run your app normally. Open a couple of documents and close them. Then hit Debug Memory Graph. You may be surprised at what objects still exist at that point.
Topic: App & System Services SubTopic: Core OS Tags:
2w
Animation Glitch behind Tab-bar
I'm trying to replicate edit/select mode of iOS 26 photos app. When user clicks Select button, bottom tab bar is replaced by the toolbar buttons. When I press Done button, a white opaque bar appears at the bottom behind the tabbar. It looks pretty straightforward to implement but I'm banging my head here now. Any help will be appreciated. Code and animation frames attached bellow struct ContentView: View { var body: some View { TabView(selection: $selectedTab) { OverviewView() .tabItem { Image(systemName: chart.pie) Text(Overview) } .tag(0) //rest of the tabs } } } struct OverviewView: View { @State private var editActive = false @State private var selection = Set() @State private var items = [ Item 1, Item 2, Item 3, ] var body: some View { NavigationStack { List(selection: $selection) { ForEach(items, id: .self) { item in Text(item) } } .toolbar { if editActive { ToolbarItem(placement: .bottomBar) { Button { } label: { Label(Delete, systemImage: trash) } } ToolbarItem(placement: .bottomBar) { Butto
1
0
116
2w
Reply to Zsh kills Python process with plenty of available VM
Just adding a quick follow-up, in case you have some other ideas: I tested with many values of vm_compression_limit, from 0 up to 10^12, but the behaviour when the VMM kills a process is not affected: when the swap size reaches approximately 44GB, the process gets killed. I had a chance to play with this today and I think you're just setting it wrong. You need to set this as a boot argument, so the nvram command looks like this: nvram boot-args=debug= vm_compression_limit=4000000000 With that configuration, I got to ~130GB of memory usage and ~100GB of swap before the process was terminated. You can use nvram -p to print the full list of firmware variables, find your existing boot-args value, then insert it back into the command above to preserve it. Note: It's also possible that boot-args doesn't exist or you can choose to overwrite the value. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
2w
Repeated NUIdentifier crash
Some of our app's users are repeatedly running into a crash on NeutrinoCore -[NUIdentifier initWithNamespace:name:version:] + 2352. It looks from the stack trace like multiple threads are performing PHFetchRequests, but that shouldn't be causing a crash. It's isolated to a small number of users, which makes me think that it's something related to their specific Photos databases (e.g., data corruption.) Do you have any suggestions how I might be able to resolve this? 2 libsystem_c.dylib abort + 124 3 NeutrinoCore -[NUAssertionPolicyCrashReport notifyAssertion:] + 66 4 NeutrinoCore -[NUAssertionPolicyComposite notifyAssertion:] + 160 5 NeutrinoCore -[NUAssertionPolicyUnique notifyAssertion:] + 176 6 NeutrinoCore -[NUAssertionHandler handleFailureInFunction:file:lineNumber:currentlyExecutingJobName:description:arguments:] + 156 7 NeutrinoCore _NUAssertFailHandler + 176 8 NeutrinoCore -[NUIdentifier initWithNamespace:name:version:] + 2352 9 NeutrinoCore -[NUIdentifier initWithName:version:] + 84 10 Neutr
0
0
123
2w