On iOS 18, when XCUITest encounters an Application has not loaded accessibility error after the 60 second timeout, it performs an undocumented auto-recovery (Setting up automation session) instead of halting the test as documented. This leaves the XCUITest framework in a corrupted state, causing subsequent tests in the same session to fail with unexpected behavior. Expected Behavior (per Apple documentation): Any failure in the launch sequence will be reported as a test failure and the test will be halted at that point. Actual Behavior: XCUITest waits 60 seconds for accessibility to load Logs Application has not loaded accessibility error Instead of halting, performs Setting up automation session (auto-recovery) Test continues with corrupted framework state Subsequent tests in the same session fail with phantom element queries Steps Run XCUITest suite on a real iOS 18 device Have an app with moderately heavy initialization (e.g., synchronous network operations during bootstrap) Observe inter
Search results for
SwiftUI List performance
50,605 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I learned my lesson to not color outside the lines with pure SwiftUI. I've not tried it again since April, so maybe something changed with the Xcode releases since then, but I just export pure arrays from my view models instead of trying to be clever with custom collections. It would be cool if it were predictably extensible, but there's too much goddamn magic going on to waste time with it in my opinion.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
There is something called the MatchMaker ViewController. Your app should open this up - that's where your list of open matches lives. True. I can get it to show up by enabling showExistingMatches. But what about the initial invitation when the recipient doesn't have the game installed?
Topic:
Graphics & Games
SubTopic:
GameKit
Tags:
[quote='813195021, CamJN, /thread/813195, /profile/CamJN'] that's a LOT of overhead! [/quote] In relative terms, sure. But it’s also a short amount of total time, so it doesn’t give you a lot of space to optimise. Anyway, there are a bunch of things you can do on this front, but there are also certain fundamental limits to how fast a given process can launch. If you use C to create a small ‘hello world’ project, how does its performance compare to that of your tool? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hey, I have a same question. All I could do was a crutch through UIKit, it works exactly for action in a preview, however it broke, another swiftUI effects, such as swipeAction or confirmation dialog(iOS 26). Did you find the right way to implement this feature? Thanks.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
There is something called the MatchMaker ViewController. Your app should open this up - that's where your list of open matches lives.
Topic:
Graphics & Games
SubTopic:
GameKit
Tags:
[quote='872985022, nightow1, /thread/813147?answerId=872985022#872985022, /profile/nightow1'] You have a choice, right? [/quote] No, you literally don't. Every iPhone app is expected to work on an iPad. It doesn't have to be written as an iPad app, i.e. it doesn't have to take up the full screen and have all the same navigation stacks, tabs and layout as an iPad app does, but the app must function on an iPad. App Store Connect shows it is an iPhone app, yes, but that just means it is listed in the App Store for iPhones. If someone downloads it on their iPhone it will also become available on their iPad, too, so it must work on their iPad as well. As I said, run it on an iPad and see if the app works properly. If it doesn't, then you have to fix it. The App Review Team are literally telling you that they are rejecting it because it doesn't function properly on an iPad. Your app must work on an iPad, so make it work on an iPad. Just run it on an iPad and see what needs fixing. It might be a really simp
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Here's the code... import SwiftUI enum Side: String { case left case right } struct SideView: View { @State private var name: String = @State private var side: Side? = nil var body: some View { NavigationStack { Form { Section { TextField(Name, text: $name) Picker(Side, selection: $side) { Text(Left).tag(Side.left as Side?) Text(Right).tag(Side.right as Side?) } .pickerStyle(.menu) // displays with Left selected even though side is nil // .pickerStyle(.inline) // all the other styles work as expected, nothing initially selected // .pickerStyle(.palette) // .pickerStyle(.navigationLink) } } } } } #Preview(SideView) { SideView() } Even though side is nil the .menu style displays with Left selected. Try any of the other styles. They all display with nothing initially selected. As they should when side is nil. This seems like a bug and I've submitted feedback. ID: FB21685273 Whether it's a bug or not has anyone worked around this?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Hello, The search functionality of the coreaudio-api mailing list archive has been broken for a very long time. Several of the lower-level audio APIs have only been discussed on this mailing list, making it critical for those of us maintaining old audio code. Steps to reproduce: Open https://lists.apple.com/archives/list/coreaudio-api@lists.apple.com/ in your web browser. Enter a search term in the Search this list field in the top-right corner of the page. The search will eventually time out with 502 Bad Gateway Can somebody please forward this information to the current maintainer? I've tried to contact developer support but they weren't sure what to do. Thanks!
Topic:
Media Technologies
SubTopic:
Audio
the lengthy lecture about what App Review is doing me a favour with a bit strange After your initial greeting, you said, and I quote, I'm seeking advice. And then, at closing, you doubled-down on that with, Any advice, experiences, or suggestions would be greatly appreciated. You've also managed to argue both that Launchpad is terrible (and Tahoe's version is even worse), and that I shouldn't bother building something better. You're mischaracterizing my statement. I suggested that you shouldn't build something that looks like LaunchPad, and apparently App Review agrees with me. That's what an app launcher looks like. As I said in my first reply, I recently purchased a nice app launcher from one of my favourite developers. It looks nothing like LaunchPad. That fact was part of the appeal. My original question was a straightforward one: have people encountered IP issues during review for apps that improve on native functionality? You posted a numbered list of 5 specific questions, followed by an explic
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
our app has a helper to perform privileged operations which communicates with the main app via xpc_connection* previously that helper was installed via SMJobBless() into the /Library/LaunchDaemons/ and /Library/PrivilegedHelperTools/ due to various issues with the old SMJobBless() as well as it being deprecated we have ported the helper to the new SMAppService API where the helpers do not need to be installed but remain within the app bundle ( [[SMAppService daemonServiceWithPlistName:HELPER_PLIST_NAME] registerAndReturnError:&err] ) the new approach has been used in production for a year now and works fine in most cases and seems to be more reliable than the old SMJobBless(). however, we've observed two problems with the new helper architecture. • sometimes when users update the app (with the built-in Sparkle framework), the app does not seem to have FullDiskAccess, although the checkbox in the system settings remains toggled on. only once the Mac has been restarted, things work fine again. sinc
Tablet is set to false in the code. Device family only says iPhone in the metadata. I was not required to upload iPad photos. Yet, I keep getting rejected because of how it performs on iPad.. Can someone please help me if you have a moment This is the only rejection reason This is so disheartening that I am not being heard
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Hi, some additional context: The app is in open beta and not public yet. Multiple support emails did not get a reply The entitlement request does not get reflected on the app listing in the developer portal.
Topic:
App & System Services
SubTopic:
Notifications
Tags:
I know this is years later.. but I am going through a reverse situation. I have falsified everything for iPad in the code, am not required upload iPad photos, but the reviewers keep being told to judge how my app performs on iPad for some reason. So frustrating. And only a small number actually read the messages before reviewing, so I am stuck in a loop with the reviewers of them thinking the app is for ipad when it is not. Hopefully, I can get some help with resolving this soon.
Topic:
App & System Services
SubTopic:
Hardware
Tags:
Hi, we have an open feedback listing that we are still awaiting a response for FB21147185. Is there any update on this?
Topic:
App & System Services
SubTopic:
Hardware
Tags: