Search results for

SwiftUI List performance

50,609 results found

Post

Replies

Boosts

Views

Activity

Reply to Tahoe sidebar - icon sizing is wrong
Thanks for your post. Extremely detailed and interesting. You're right that manually adjusting sizes with and isn't ideal for achieving consistency with native macOS apps, especially across different macOS versions. In previous macOS, I think, SwiftUI provided a way to automatically adjust sidebar icon sizes to match system standards by using modifiers and appropriate view hierarchies. Unfortunately, we are unable to provide any details regarding the design or code for Apple macOS apps. Additionally, the icon sizes may differ from the default icons provided by SwiftUI as you already point it out. Cannot even provide you a way to achieve a sidebar similar to built-in macOS apps, I would recommend for you can leverage the documentation at https://developer.apple.com/documentation/technologyoverviews/adopting-liquid-glass that automatically configures the list to adopt macOS sidebar conventions, including icon sizing and spacing. That Tech Note also provides many different tips to work
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’26
StoreKit Subscription not discoverable in App Review (PLEASE HELP!))
I'm in the final phase before app approval and I'm struggling to implement store kit for in app purchases. I'm using base 44 and really need help finishing this set up. I have an iOS app (SwiftUI + WKWebView) with auto-renewable subscriptions using StoreKit and SubscriptionStoreView. The app was rejected under Guideline 3.1 because payments were defaulting to Stripe instead of storekit. What’s already done: Subscriptions created in App Store Connect (monthly + annual) SubscriptionStoreView implemented and visible in app WKWebView bridge triggers native StoreKit paywall Sandbox test account created Stripe fully disabled on iOS What I need: Verify StoreKit implementation is App Review compliant Confirm subscriptions are correctly attached to the app version Ensure paywall is discoverable by App Review Help me pass App Review (reply guidance + final checks) This is a short engagement (1–3 hours). Looking for someone with real StoreKit + App Review experience + Base44 knowledge.
0
0
76
Jan ’26
Reply to In-app purchases problem
purchase product that have not been submitted to review What is the status of your subscriptions in App Store Connect? For more information, see In-App Purchase statuses. but apple said to me that I uploaded an in-app purchase product that have not been submitted to review, From TN3186: Troubleshooting In-App Purchases availability in the sandbox > Validate your product identifier list: To verify your product identifier list, perform these steps: In your Xcode project, locate your app’s bundle ID. In App Store Connect, find the app that matches your app’s bundle ID. Verify each product identifier in your list matches the product identifier (Product ID) of an In-App Purchase created for the app in App Store Connect.
Jan ’26
Reply to StoreKit does not return any subscriptions on any device (approved IAPs, production app)
Is there any known App Store Connect or StoreKit condition where: • subscriptions are approved and visible in App Store Connect • but StoreKit returns an empty result set in production? From TN3188: Troubleshooting In-App Purchases availability in the App Store: Validate your product identifier list To verify your product identifier list, perform these steps: In your Xcode project, locate your app’s bundle ID. In App Store Connect, find the app that matches your app’s bundle ID. Verify each product identifier in your list matches the product identifier (Product ID) of an In-App Purchase created for the app in App Store Connect. Review the availability of your In-App Purchases A customer’s Apple Account country or region determines the App Store country or region where they can purchase content. For example, an account set to Canada can only purchase In-App Purchases from the App Store in Canada. If your In-App Purchase is available in all countries or regions of the App Sto
Topic: UI Frameworks SubTopic: General
Jan ’26
Tahoe sidebar - icon sizing is wrong
Hi there. I am trying to figure out how to make a macOS Tahoe app in SwiftUI with a sidebar. The problem I’m having is that the icons are the wrong size. If you visually compare the resulting sidebar with any built-in macOS app (Finder, Notes, Mail, Music, etc.) the built-in apps all have larger icons and the spacing is different from my SwiftUI app, which has too small icons and (I think) wrong spacing. I am trying to figure out what SwiftUI code I need to write to get a sidebar that looks the same as the other built-in macOS Tahoe apps. It’s also important to note that Tahoe sidebars have larger icons at the top level, and in cases where the items have a disclosure triangle with additional items nested within, the nested icons have smaller icons. I have not figured out how to properly replicate this effect either. I have spent quite a lot of time on trial-and-error with various combinations of .frame() and .font() modifiers. However, none of the results look quite right to me, and
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1
0
88
Jan ’26
Reply to Inability to Communicate via APDU on iOS Despite NFC Tag Detection
You can't switch sessions once connected, but you can connect to an NDEF tag by using NFCTagReaderSession and do both NDEF and non-NDEF actions. Because NFCISO7816Tag inherits from NFCNDEFTag it gains all its capabilities and then adds more specific functionality. If a NFCTag returned from a NFCTagReaderSession supports NDEF, NDEF operations (query NDEF status, write and read NDEF) are performed internally, and the NDEF data should be available as properties in the same NFCTagReaderSession.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’26
Bug? SwiftData + inheritance + optional many-to-one relationship
I've spent a few months writing an app that uses SwiftData with inheritance. Everything worked well until I tried adding CloudKit support. To do so, I had to make all relationships optional, which exposed what appears to be a bug. Note that this isn't a CloudKit issue -- it happens even when CloudKit is disabled -- but it's due to the requirement for optional relationships. In the code below, I get the following error on the second call to modelContext.save() when the button is clicked: Could not cast value of type 'SwiftData.PersistentIdentifier' (0x1ef510b68) to 'SimplePersistenceIdentifierTest.Computer' (0x1025884e0). I was surprised to find zero hit when Googling Could not cast value of type 'SwiftData.PersistentIdentifier'. Some things to note: Calling teacher.computers?.append(computer) instead of computer.teacher = teacher results in the same error. It only happens when Teacher inherits Person. It only happens if modelContext.save() is called both times. It works if the first modelContext.save() is com
8
0
310
Jan ’26
Stuck in a loop between Guideline 2.1 and 2.2: Reviewer refuses 5 mins of gameplay
Title: Stuck in a loop between Guideline 2.1 and 2.2: Reviewer refuses to play for 5 minutes. Body: I am an independent developer struggling with a repetitive rejection cycle for over a month. I need advice on how to handle a clear contradiction in the review process. The Loop: Initial Rejection (2.1): Reviewer said they couldn't locate the IAP. My Action: I added a prominent IAP Test button on the title screen to skip gameplay. Second Rejection (2.2): A different reviewer said the IAP Test button is a Beta feature and not appropriate for production. My Action: I removed the button and implemented a Secret Command (Easter Egg) that enables an Assist Mode (extending the timer to 5 minutes) so the reviewer can easily clear the game and reach the IAP screen in about 5-6 minutes. Latest Rejection (2.1): The reviewer now says: While we appreciate you provide an instruction... we require a quicker way to access in-app purchases without spending significant time to play games. The Current Solution: In my next submis
5
0
331
Jan ’26
Clarifying the intended scope of DL-TDoA ranging in Nearby Interaction
Does DL-TDoA ranging in the Nearby Interaction framework support building a traditional RTLS-style TDoA localization system, where a device’s absolute position is computed from time-difference measurements across multiple deployed anchors, or is DL-TDoA strictly limited to system-managed, relative ranging and direction estimation (distance/direction) between nearby devices? If DL-TDoA ranging in Nearby Interaction is not intended to support traditional RTLS-style TDoA localization, is there any public documentation or reference material that describes the intended DL-TDoA architecture, such as the expected system setup, device roles, and deployment constraints (for example, how ranging is expected to be performed between an iPhone and nearby accessories), beyond the high-level API documentation? Regards.
0
0
134
Jan ’26
Reply to Guideline 5.2.5 - Legal - Intellectual Property
Update: They approved the app after all. it's online. I am not sure why they disagreed or finally allowed, there was not explanation to my argument. I asked why it was intellectual property if I used their APIs to build an app? Here is the iPad version 3 panel NavigationSplitView This is really a basic, but specific app, with Categories of data, list of a category data, and the data
Topic: Design SubTopic: General
Jan ’26
Reply to iOS 26 fails to automatically switch to [system settings - personal hotspot ] directly from application ]
[quote='871489022, MikasaAlen, /thread/805248?answerId=871489022#871489022, /profile/MikasaAlen'] Does iOS 26 completely prohibit the use of private APIs? [/quote] It’s best not to think about this stuff in terms of public and private APIs. Rather, there are APIs, the public things that we specifically publish for third-party developers to use, and implementation details, meaning everything else. Once you think about it this way, the consequences are clear: If you use APIs, you can reasonably expect consistent behaviour. If you rely on implementation details, the behaviour can change between different OS releases, different device types, different users, and so on. [quote='871489022, MikasaAlen, /thread/805248?answerId=871489022#871489022, /profile/MikasaAlen'] And is the only recommended method for opening the [Settings app] now the use of [UIApplicationOpenSettingsURLString] API? [/quote] Supported URL Schemes lists lots of different APIs for opening Settings, each focused on a specific test. But i
Topic: App & System Services SubTopic: General Tags:
Jan ’26
What trends or updates in the App Store influence ASO in 2026
User spending on mobile apps keeps rising, but competition is growing faster, making App Store Optimization a critical pillar of mobile growth by improving visibility, reducing cost per install, and driving stronger organic performance. This post highlights the most important ASO trends for 2026, including AI driven optimization, user intent focus, localization, creative testing, analytics, and privacy first strategies to help apps grow consistently on the App Store.
1
0
180
Jan ’26
Reply to WebSocket connection instantly closes (FIN) on iPadOS 26 in PWA (Local HTTP/WS)
Additional Information: iPhoneSE(Generation unknown - details from client) running iOS 26.0.1: The WebSocket disconnection issue did not occur. Any iPad running iPadOS 26.0.1: I wanted to test this, but I couldn't perform the verification as I didn't have a corresponding device on hand. iPad(A16) running iPadOS 26.2: When accessing directly via the Chrome browser, the WebSocket remained stable and did not disconnect. However, the issue was reproducible when using the PWA version (installed via Chrome). (Does the PWA use the Safari/WebKit engine internally even when installed through Chrome?) Additionally, I found logs corresponding to the time of the occurrence under Settings > Privacy & Security > Analytics & Improvements > Analytics Data. I am attaching those files to this post for reference. ExcUserFault_MobileSafari-2026-01-05-144423.000.ips ExcUserFault_SafariViewService-2026-01-05-144250.ips ExcUserFault_MobileSafari-2026-01-05-143829.ips ExcUserFault_SafariViewService-2026-01-
Topic: Safari & Web SubTopic: General
Jan ’26
Reply to Text with Liquid Glass effect
This is a great questions and I created my own RoundedRectangle with the fill to look like Liquid Glass even though I'm not a designer I am sure someone can do a better job in SwiftUI than mine. I'm looking to see a picture of what you are trying to accomplish actually. Would you be able to provide that? .background( // Glass material RoundedRectangle(cornerRadius: 22, style: .continuous) .fill(.ultraThinMaterial) .overlay( // Subtle inner highlight and outer stroke for depth RoundedRectangle(cornerRadius: 22, style: .continuous) .strokeBorder(Color.white.opacity(0.35), lineWidth: 1) .blendMode(.overlay) ) .shadow(color: Color.black.opacity(0.12), radius: 16, x: 0, y: 8) // shadow ) Looking forward to other people's design and ideas. Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’26
Reply to Tahoe 26.2 breaks printing with PaperCut
So, looking at things from our side, I'm not sure. I found one bug on this (r.166518515) about accessing a custom directory (/Library//), but the analysis of the engineering team is that it isn't a bug in macOS 26.2... because it shouldn't work in macOS 26.0 EITHER. More specifically, it should only be accessing one of these documented directories: 2. Writing of files: pursuant to normal UNIX file permissions, filters and backends can read/write files to the cache directory specified by the CUPS_CACHEDIR environment variable, to the state directory specified by the CUPS_STATEDIR environment variable, to the temporary directory specified by the TMPDIR environment variable, and under the /private/var/db, /private/var/folders, /private/var/lib, /private/var/mysql, /private/var/run, /private/var/spool (except /private/var/spool/cups), /Library/Application Support, /Library/Caches, /Library/Logs, /Library/Preferences, /Library/WebServer, and /Users/Shared directories. FYI, that does suggest a possible workaround
Topic: App & System Services SubTopic: General Tags:
Jan ’26