Problem After launching the host app by tapping the widget (widgetURL), calls to: WidgetCenter.shared.reloadAllTimelines() WidgetCenter.shared.reloadTimelines(ofKind: ...) are ignored/deferred for an initial period right after the app opens. During this window, the widget does not reload its timeline and remains unupdated, no matter how many times I call the reload methods. After some time passes (typically ~30 seconds, sometimes shorter/longer), reload calls start working again. There is also no developer-visible signal (no callback/error/acknowledgement) that the reload was ignored, so the app can’t detect the failure and can’t reliably recover the flow. Question: Is this expected behavior (throttling/cooldown) after opening the app from a widget ? If so, is there any recommended workaround to update the widget reliably and quickly (or at least detect that the reload was not accepted)? Any guidance would help.
Search results for
SwiftUI List performance
50,597 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Your enrollment could not be completed. Your enrollment in the Apple Developer Program could not be completed at this time. I know a lot here are also experiencing this slow and seemingly ignorance from the Apple team to solve this problem or of related issue. As a new guy to the Apple ecosystem and in development world, i thought it'll be a breeze but oh my pickle! I thought I'd lose my mind! Tried through the website, on my mac and phone but nothing seems working. Paying online using my card is fine, but when it comes to paying the enrollment I don't get why I am having an (1) authorization issue , other case using another method prohibits me due to (2) no availability in my region, or that a (3)disabled Enroll Now list item via Developer App on iOS devices. Support though mail is nonexistent and when in a call, albeit the support staff is polite, the responses I got are pretty vague and with no certainty ---- making me paranoid. Don't they see the time costing developers waiting for this simple st
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Hi, I'm a novice on Xcode and I have just created an API Key in order to use Perplexity as a model Provider in Xcode 26.4 (beta). The key is valid and, Perplexity support replies this: _The issue is that Xcode expects specific endpoint structures that don't fully match Perplexity's API. Xcode requires a /v1/models endpoint to list available models, which Perplexity doesn't currently provide in that format. Our API uses /chat/completions rather than /v1/chat/completions as well._ Is there a workaround to integrate it and get the benefits of new Intelligence features with Perplexity? Error code is Provider is not valid - Models could not be fetched with the provided account details Thanks for your help
I am developing a mobile application using Flutter and plan to implement in-app subscriptions for both iOS platforms. I would like to request guidance on the following: Technical Implementation: Recommended best practices for implementing auto-renewable subscriptions in Flutter apps StoreKit 2 integration requirements and compatibility considerations Server-to-server notification setup and endpoint requirements Testing Procedures: Sandbox environment configuration and testing workflow TestFlight testing requirements for subscription features Recommended testing scenarios before production release Required Documentation and Accounts: Complete list of required agreements (Paid Applications Agreement, etc.) Banking and tax information requirements Privacy policy and terms of service specifications for subscription apps App Review guidelines specific to subscription-based apps Subscription Management: Grace period implementation requirements Handling subscription cancellations and refunds Promotional off
Hello everyone, Our app was recently rejected under Guideline 5.0 – Legal (U.S. Sanctions Compliance). Apple review reported that the binary contains the following domain: https://lib.eshia.ir However, after extensive investigation: • The app does NOT connect to this domain • The app does NOT provide services to sanctioned regions • The domain does NOT exist in our source code, API calls, or UI • Network logs confirm no outgoing requests to this host We suspect the reference is coming from a bundled third-party dependency dataset (possibly a public suffix / domain validation / fraud detection list embedded in a framework). We already: Extracted IPA Scanned all source files Ran strings on the main binary Checked networking layer But we still cannot identify which framework contains this entry. Questions: Has anyone faced a sanctions rejection due to a domain inside a compiled SDK dataset? Is Apple expecting removal of the exact string from the binary even if unused? How do you typically identify the s
Hello everyone, Our app was recently rejected under Guideline 5.0 – Legal (U.S. Sanctions Compliance). Apple review reported that the binary contains the following domain: https://lib.eshia.ir However, after extensive investigation: • The app does NOT connect to this domain • The app does NOT provide services to sanctioned regions • The domain does NOT exist in our source code, API calls, or UI • Network logs confirm no outgoing requests to this host We suspect the reference is coming from a bundled third-party dependency dataset (possibly a public suffix / domain validation / fraud detection list embedded in a framework). We already: Extracted IPA Scanned all source files Ran strings on the main binary Checked networking layer But we still cannot identify which framework contains this entry. Questions: Has anyone faced a sanctions rejection due to a domain inside a compiled SDK dataset? Is Apple expecting removal of the exact string from the binary even if unused? How do you typically identify the s
Upskill in SwiftUI and system design, explore leadership roles, diversify platform expertise strategically.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
After recent upgrade to 17Pro, CarPlay no longer lists any audio streaming services-Sirrius XM, Pandora, etc. Did Apple recently drop them from CarPlay approval? They all showed prior to upgrade to 17 and iOS26. If not any recs to get them to show again? Thx Jim
That's interesting about the difference between NSOperation and NSThread as far as Mach ports go. I watched the # ports in Activity Monitor as I ran a job, and it certainly doesn't climb as each job runs. It goes from initially in the 300s to the low 500s right when the job starts, and stays around there, even after the job ends, and then I run the same job 2 or 3 more times without quitting. Well, that's the joy of Mach port leaks... you never REALLY know what you'll get. So, as some broader background here, the actual issue here isn't really about the thread API itself- ultimately, both APIs are using pthreads and the special pthread GCD uses aren't really different than standard pthreads. The real issue here is that you don't actually own the thread and the assumptions AppleEvents/ScriptingBridge were built around. Both of those APIs predate GCD (by many, many years) and are built around the assumption that they'll be used on a long-running thread that's running its own runloop, as that was basically THE p
Topic:
App & System Services
SubTopic:
Automation & Scripting
Tags:
Thanks for this awesome post. Yes, low power will trigger the device to go night night if possible. This is a great post for other developers to provide tips and ticks how to keep the device awake on a recording session. https://developer.apple.com/documentation/uikit/uiapplication/isidletimerdisabled Your approach of setting is indeed the standard way to achieve this. However, certain power management features, like Adaptive Power Mode, can override these settings, as you've observed. Ensure that you have an active configured while recording. This typically helps in signaling to the system that media capture is in progress, which should naturally prevent the device from sleeping. Unfortunately, iOS doesn't provide public APIs to directly detect Adaptive Power Mode specifically. However, you can check for Low Power Mode . While this doesn't exactly map to Adaptive Power Mode, it can still be useful for alerting users. Since detecting Adaptive Power Mode isn't directly possible, consider displaying a message w
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Thank you for your post. I must admit that I am not entirely clear on your question regarding creating a Live Activity for a remote hosting environment. I believe I may have misunderstood your inquiry. Could you please provide me with additional details to clarify your objectives? As currently, Live Activities are designed primarily for iOS devices, and they appear on the Lock Screen and Control Center. December 16, 2025 Updated guidance for all platforms, and added guidance for macOS and CarPlay. https://developer.apple.com/design/human-interface-guidelines/live-activities/ If you want to bring Live Activities to Apple Watch: https://developer.apple.com/videos/play/wwdc2024/10068/ Including the documentation for the live activities guide. The widget configuration api to position a widget: https://developer.apple.com/documentation/swiftui/widgetconfiguration/disfavoredlocations(_:for:) Thanks, Albert Pascual
Worldwide Developer Relations.
Topic:
App & System Services
SubTopic:
Widgets & Live Activities
Tags:
I am testing my iOS app on iOS 18. I performed 50 tests, and in 43–44 of them, the app successfully detects beacons, relaunches in the background, and continues BLE communication. Testing how? What are the details of the process you're actually using to test this? That is, are you: Artificial Testing” -> Laying the phone on a desk next to the beacon and toggling the beacon (or shielding the phone) on/off to simulate entry and exit. VS. Real World Testing” -> Carrying the phone around in your pocket and seeing what happens. Beyond that, what are the broader parameters of the test itself? How far is the device from the beacon? How long is the device exposed to the beacon? What's the broader use case you're trying to implement? Most importantly, what, if anything, do you know about EXACTLY what was happening when the failure occurred? I want to understand why beacon triggers are inconsistent in iOS. What are the common reasons behind iOS not relaunching the app for beacon events, and what factors
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
First, please check the document NFC & SE Platform for secure contactless transactions for the requirements and regional availability of NFC support with Secure Element. NFCTagReaderSession cannot be used for payment cards. You will need to use alternate CoreNFC APIs, which are only available via special entitlements and agreements. The document above will also explain the requirements for getting access to those APIs. Eventually, you will need to enter into an agreement with Apple and request the NFC & SE Platform Entitlement, if you satisfy the requirements as listed in the document above. If you are not able to use those APIs, PassKit framework will be your only remaining option, if appropriate. If you have already requested the relevant entitlements, if approved, you will receive further guidance on how to proceed with your development.
Topic:
App & System Services
SubTopic:
Tap to Pay on iPhone
Tags:
Hello @mike sldkcjnsdmhvbsdh I can see the code you submitted and have some insight. However, I am not the engineering team handling this report and would continue to refer to the status and discussion in Feedback Assistant, but I do have some insight. See your line 40 of NestedLazyVStackView .onAppear { // ⚠️ HANG TRIGGER POINT LazyVStacks allocates views as they are needed and here SwiftUI is modifying its content through state changes while that is happening. This creates a race condition. Traversing the accessibility tree will cause unexpected issues in this situation. For more info on the best practices building performant layouts, see: Building layouts with stack views and Creating performant scrollable stacks I hope this helps! Travis Trotto - DTS Engineer
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
UIHostingConfiguration on tvOS: focus permanently broken with multiple focusable SwiftUI views Hi everyone, I'm working on a tvOS app with a UICollectionView. Some cells embed SwiftUI content via UIHostingConfiguration, specifically a row of 3 buttons that should be individually focusable. The cell itself returns canBecomeFocused = false so focus passes through to the SwiftUI buttons. The problem: after navigating focus into that section once, it becomes permanently unfocusable. Focus enters briefly, then immediately exits to nil on its own, without any user input. From that point on, the focus engine completely skips the section. The exact same SwiftUI view works perfectly when embedded via UIHostingController instead. How to reproduce Press DOWN to move focus into the UIHostingConfiguration section Focus lands on a SwiftUI button for a split second Focus exits on its own and bumps to another section The section is now dead, focus skips it on every subsequent navi