Search results for

“swiftui”

17,495 results found

Post

Replies

Boosts

Views

Activity

First-time notarization submissions stuck "In Progress" — two submissions, 15+ hours
This is my first time submitting an app for notarization. Both submissions have been stuck In Progress with no logs available. Body: This is my first time submitting an app for notarization. Both submissions have been stuck In Progress with no logs available. Submission 1: ID: 43ea68c1-5291-42c6-b0e1-3cacab4ca01a Submitted: 2026-04-09T02:05:34Z Status: In Progress (15+ hours) Submission 2: ID: 12ea49a0-64cf-495e-af7e-9aad5aabe30f Submitted: 2026-04-09T17:06:51Z Status: In Progress (1+ hour) Details: Team ID: PWTWN9N25D App: Native macOS SwiftUI app (arm64), ~84 MB zipped Signed with Developer ID Application certificate, Hardened Runtime enabled All embedded helper binaries individually codesigned with Hardened Runtime codesign --verify --deep --strict passes Submitted via xcrun notarytool submit with --keychain-profile notarytool log returns not yet available for both Apple System Status shows all services available
3
0
1.2k
Apr ’26
Reply to My iOS Swift application works on wide range of iPhones from iPhone X to iPhone 16 Pro Max
This is a full crash report. So, the crash itself is a fairly standard watchdog crash, caused by blocking the main thread for too long. We have a full article on these issues here, though it doesn't specifically address SwiftUI issues. Finally, you mentioned it was happening when: ...when scrolling the screen. ...which is inline with what the log looks like. Unfortunately, there isn't a lot else to look at here as there isn't really anything else in the log. A few other questions: Do your other logs look broadly similar or are the outliers that look significantly different? Many of these issues are caused by complicated interactions between components, so it's possible one of those outlier logs will provide a critical clue to the underlying issue. Does the overall app state look normal? There's no other meaningful thread activity in the log you sent, which is fairly uncommon. It's possible that's normal for your app, but it could also mean that an earlier failure broke your app’s normal flow, which c
Apr ’26
Floating Card Window in iOS 26
My SwiftUI app runs as a floating card window on iOS 26 iPhone instead of full screen. UIRequiresFullScreen and UIApplicationSupportsMultipleScenes: false don't fix it. What's the iOS 26 Info.plist key or API to opt out of windowed mode? First iOS app, I'm very confused, and have been trying different things for like 3 days. Any nudge in the right direction would be wildly appreciated. Thanks! Mark
Topic: UI Frameworks SubTopic: SwiftUI
0
0
138
Apr ’26
Reply to Disabling font Anti-Aliasing in a Text in SwiftUI
Hi, I didn't see your reply... Sorry for the huge delay of this response, but I just found a solution and thought again about this post. Thanks for pointing me to Feedback Assistant — I've submitted a report, and the reference number is FB22423114. Here is the working solution I just less than an hour ago: applying a Metal shader to the view. Here's the code: Shader.metal #include using namespace metal; /// Discards pixels with alpha below the given threshold. /// Pixels above the threshold are kept as-is. [[ stitchable ]] half4 alphaThreshold(float2 position, half4 color, float threshold) { if (color.a < half(threshold)) { return half4(0.0); } return color; } Then apply it to a Text view in SwiftUI like this: Text(Hello) .colorEffect( ShaderLibrary.alphaThreshold(.float(1.0)) ) Thanks. Here's the result: And for the comparaison, here's what it looked like before the metal shader:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’26
DeviceActivityReport Extension not working on iOS 26.4 — Extension process never launches
Device: iPhone 15 Pro Max, iOS 26.4 Xcode: Latest version, development signing with Automatically manage signing Team: Registered Apple Developer Program (Organization) Problem DeviceActivityReport SwiftUI view renders completely blank. The Report Extension's makeConfiguration(representing:) is never called (confirmed via App Group counter that stays at 0). The DeviceActivityMonitorExtension callbacks (intervalDidStart, eventDidReachThreshold) also never fire. What works AuthorizationCenter.shared.requestAuthorization(for: .individual) → .approved DeviceActivityCenter().startMonitoring() → registers schedules successfully, center.activities returns them ManagedSettingsStore.shield.applications → blocks apps correctly from the main app process Screen Time is enabled and actively collecting data (Settings > Screen Time shows per-app usage: Clash Royale 2h 35m, etc.) App Group UserDefaults(suiteName:) read/write works from the main app What doesn't work DeviceActivityReportExtension.makeConfiguration
2
0
564
Apr ’26
My iOS Swift application works on wide range of iPhones from iPhone X to iPhone 16 Pro Max
My iOS Swift application works without problems and tested on wide range of iPhones from iPhone X to iPhone 16 Pro Max when compiled by XCode 16.4. When compiled on Xcode 26 application it frequently crashes with 0x8BADF00D FRONTBOARD error in various places when running on iPhone 14 Plus, most often when typing or when scrolling the screen. It works without problems on iPhone 16 Pro Max independent of the version of Xcode used for compilation. I followed dozens of recommendations, introduced async/await, tasks, significantly reduced complexity of layouts, making uniform bubbles etc.etc. , tried to introduce many simplifications in the application, still I could not achieve elimination of frequent crashes on iPhone 14 Plus running iOS 26.3.1, no matter what I tried. Other than that all functionality seems to be working. This is the beginning of the Crash report: Termination Reason: Namespace FRONTBOARD, >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1&
3
0
192
Apr ’26
How to add a button on top of sheet?
Hi, I have created this UI using custom view and not a real sheet component. But the animations and interaction is not as smooth. Earlier I was using sheet component and it was working very well, but then I had a need to add a search button on top of sheet (not inside, that is very important). And so I created this whole sheet with custom view and not the sheet component. But it resulted in loss of fluid working and animations that sheet have. Including changing between Medium detent and Large detent. Is it possible to achieve this UI with native sheet component? Or using some other native swiftui view which will have good animation that sheet has?
2
0
555
Apr ’26
Reply to iOS 26 TabBar Remove Selected Capsule
Thanks for the post. Any chance you can provide a simple focused project we can download and run it to see what you are seeing? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. What happens when you disable Liquid Glass? Do you get the results that you want? When you create a standard UIView (or SwiftUI View) that contains your custom buttons and layout and add custom view to the UITabBarController's view and anchor it to the bottom of the screen. When a user taps a button in your custom view, manually update the selected tab is when you get that result? Are you testing on iOS 26.4? What Xcode version are you using? Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’26
Interface Builder - Xcode 26.4 - Changing Between Attributes Inspector, File Inspector, Etc. Is Now A Pop Up Button?
In Interface Builder there use to be a segmented control to switch Inspectors. It's been this way forever. I could switch from: File Inspector Attributes Inspector Size Inspector Etc... Now in Xcode 26.4, it is this clunky pop up button? What? I thought Apple didn't like Interface Builder anymore so I'm surprised they are even touching it. This part of a SwiftUI rewrite or just bad vibes?
2
0
532
Apr ’26
Reply to iOS26的TabBar是否支持lottie动画?
It seems you are asking about Lottie animations in the system tab bar. The tab bar (TabView in SwiftUI / UITabBarController in UIKit) supports SF Symbols and animated symbol effects such as .bounce, .wiggle, .breathe etc.. The tab bar does not natively support Lottie animations. For more information, see What's new in SF Symbols 7  Travis
Topic: UI Frameworks SubTopic: UIKit
Apr ’26
Reply to Production Mac app becomes progressively unusable in Issues workspace; Mac_Dev remains fast
Here is more concrete context. Platform / tools Target: macOS app Language / frameworks: Swift, SwiftUI, SwiftData Cloud sync: SwiftData with CloudKit mirroring in the production configuration Xcode: 26.4 (17E192) Test OS: macOS 26.4 (25E246) What I’m seeing In the macOS app, issue board scrolling can become inconsistent or very slow. Changing an issue status from detail view can be very slow. Scrolling the status menu itself can be slow. Typing in issue description/notes fields can become sluggish. The problem is much more noticeable with my full production-sized dataset than with a small dev dataset. What I’ve tested so far I compared a small dev dataset vs a much larger production-sized dataset. With a small dataset, the same UI feels fast and smooth. With the large dataset, the same UI becomes noticeably slower. I also tested a local-only copy of the production dataset with CloudKit disabled. That improved some behavior, but it did not remove the lag entirely. When I reduced the local test datase
Topic: App & System Services SubTopic: iCloud Tags:
Apr ’26
Looking for a visionOS collaborator (brief + feedback for spatial prototype)
Hi everyone, I’m a mixed reality designer currently building visionOS experiences (RealityKit + SwiftUI), and I’m working on a course at Arizona State University where we develop a project in response to a real-world client. I’m looking to collaborate with someone in the visionOS ecosystem who would be open to sharing a simple prompt or brief (nothing confidential), which I can use to create a proposal response. The outcome would include: Spatial concept + storyboard Interaction design direction Rough scope, timeline, and team structure Optional small prototype in visionOS The goal on my side is to better understand how spatial work is framed and communicated in real-world scenarios, especially within Apple’s ecosystem. The ask is very lightweight: 1–2 short check-ins during April or async feedback via email A bit about my work: Built Spatial Synesthesia for Apple Vision Pro Eye tracking interaction that isolates instruments in a live orchestral mix based on color perception Working with computer vis
0
0
1.3k
Apr ’26
Production Mac app becomes progressively unusable in Issues workspace; Mac_Dev remains fast
The production macOS build is showing severe performance problems, while Mac_Dev performs normally. Observed behavior in production Mac build: Issue board scrolling becomes inconsistent or nearly unusable Changing an issue status in detail view is very slow Scrolling the status menu/options can be slow Typing in issue description/notes fields becomes sluggish Dragging issues between milestones/statuses on the board can lag badly Observed behavior in Mac_Dev: Board scrolling is smooth Status changes are immediate Typing in description fields is responsive Drag/drop between milestones works well Important comparison: Mac_Dev appears to run against an isolated local SwiftData store Production Mac app uses the normal CloudKit-backed store Because the same UI is fast in Mac_Dev, this does not look like a pure rendering problem Most likely cause is production store / CloudKit sync churn amplifying existing SwiftUI invalidation and save behavior Current hypothesis: The production app is saving or observing
2
0
568
Apr ’26
Reply to Previews for SwiftUI views in Packages don't work in Xcode 26.4
I tried to open my project with Xcode 26.5 beta 1 and to view the Preview of some SwiftUI views present in local Packages referenced by the project, and they worked as expected, without any issue. I also tried with the very simple test project, and the result is the same. I can say that this Xcode 26.5 beta 1 behaves like Xcode 25.3. Thank you for this message.
Mar ’26
Reply to Navigation Bar Title Hidden When Right Bar Button Title Is Long (iOS 26)
How are you setting the title? I tried to reproduce, but getting a different behaviour. import SwiftUI struct ContentView: View { var body: some View { NavigationStack { Text(View) .navigationTitle(BYRON'S GRILLED CHEESE EMPORIUM) .navigationBarTitleDisplayMode(.inline) .toolbar { ToolbarItem(placement: .topBarTrailing) { Text(Cancel Order) } } } } } Which looks like this: And if I remove the .navigationTitle it looks like this:
Topic: Design SubTopic: General Tags:
Mar ’26
First-time notarization submissions stuck "In Progress" — two submissions, 15+ hours
This is my first time submitting an app for notarization. Both submissions have been stuck In Progress with no logs available. Body: This is my first time submitting an app for notarization. Both submissions have been stuck In Progress with no logs available. Submission 1: ID: 43ea68c1-5291-42c6-b0e1-3cacab4ca01a Submitted: 2026-04-09T02:05:34Z Status: In Progress (15+ hours) Submission 2: ID: 12ea49a0-64cf-495e-af7e-9aad5aabe30f Submitted: 2026-04-09T17:06:51Z Status: In Progress (1+ hour) Details: Team ID: PWTWN9N25D App: Native macOS SwiftUI app (arm64), ~84 MB zipped Signed with Developer ID Application certificate, Hardened Runtime enabled All embedded helper binaries individually codesigned with Hardened Runtime codesign --verify --deep --strict passes Submitted via xcrun notarytool submit with --keychain-profile notarytool log returns not yet available for both Apple System Status shows all services available
Replies
3
Boosts
0
Views
1.2k
Activity
Apr ’26
Reply to My iOS Swift application works on wide range of iPhones from iPhone X to iPhone 16 Pro Max
This is a full crash report. So, the crash itself is a fairly standard watchdog crash, caused by blocking the main thread for too long. We have a full article on these issues here, though it doesn't specifically address SwiftUI issues. Finally, you mentioned it was happening when: ...when scrolling the screen. ...which is inline with what the log looks like. Unfortunately, there isn't a lot else to look at here as there isn't really anything else in the log. A few other questions: Do your other logs look broadly similar or are the outliers that look significantly different? Many of these issues are caused by complicated interactions between components, so it's possible one of those outlier logs will provide a critical clue to the underlying issue. Does the overall app state look normal? There's no other meaningful thread activity in the log you sent, which is fairly uncommon. It's possible that's normal for your app, but it could also mean that an earlier failure broke your app’s normal flow, which c
Replies
Boosts
Views
Activity
Apr ’26
Floating Card Window in iOS 26
My SwiftUI app runs as a floating card window on iOS 26 iPhone instead of full screen. UIRequiresFullScreen and UIApplicationSupportsMultipleScenes: false don't fix it. What's the iOS 26 Info.plist key or API to opt out of windowed mode? First iOS app, I'm very confused, and have been trying different things for like 3 days. Any nudge in the right direction would be wildly appreciated. Thanks! Mark
Topic: UI Frameworks SubTopic: SwiftUI
Replies
0
Boosts
0
Views
138
Activity
Apr ’26
Reply to Disabling font Anti-Aliasing in a Text in SwiftUI
Hi, I didn't see your reply... Sorry for the huge delay of this response, but I just found a solution and thought again about this post. Thanks for pointing me to Feedback Assistant — I've submitted a report, and the reference number is FB22423114. Here is the working solution I just less than an hour ago: applying a Metal shader to the view. Here's the code: Shader.metal #include using namespace metal; /// Discards pixels with alpha below the given threshold. /// Pixels above the threshold are kept as-is. [[ stitchable ]] half4 alphaThreshold(float2 position, half4 color, float threshold) { if (color.a < half(threshold)) { return half4(0.0); } return color; } Then apply it to a Text view in SwiftUI like this: Text(Hello) .colorEffect( ShaderLibrary.alphaThreshold(.float(1.0)) ) Thanks. Here's the result: And for the comparaison, here's what it looked like before the metal shader:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’26
DeviceActivityReport Extension not working on iOS 26.4 — Extension process never launches
Device: iPhone 15 Pro Max, iOS 26.4 Xcode: Latest version, development signing with Automatically manage signing Team: Registered Apple Developer Program (Organization) Problem DeviceActivityReport SwiftUI view renders completely blank. The Report Extension's makeConfiguration(representing:) is never called (confirmed via App Group counter that stays at 0). The DeviceActivityMonitorExtension callbacks (intervalDidStart, eventDidReachThreshold) also never fire. What works AuthorizationCenter.shared.requestAuthorization(for: .individual) → .approved DeviceActivityCenter().startMonitoring() → registers schedules successfully, center.activities returns them ManagedSettingsStore.shield.applications → blocks apps correctly from the main app process Screen Time is enabled and actively collecting data (Settings > Screen Time shows per-app usage: Clash Royale 2h 35m, etc.) App Group UserDefaults(suiteName:) read/write works from the main app What doesn't work DeviceActivityReportExtension.makeConfiguration
Replies
2
Boosts
0
Views
564
Activity
Apr ’26
My iOS Swift application works on wide range of iPhones from iPhone X to iPhone 16 Pro Max
My iOS Swift application works without problems and tested on wide range of iPhones from iPhone X to iPhone 16 Pro Max when compiled by XCode 16.4. When compiled on Xcode 26 application it frequently crashes with 0x8BADF00D FRONTBOARD error in various places when running on iPhone 14 Plus, most often when typing or when scrolling the screen. It works without problems on iPhone 16 Pro Max independent of the version of Xcode used for compilation. I followed dozens of recommendations, introduced async/await, tasks, significantly reduced complexity of layouts, making uniform bubbles etc.etc. , tried to introduce many simplifications in the application, still I could not achieve elimination of frequent crashes on iPhone 14 Plus running iOS 26.3.1, no matter what I tried. Other than that all functionality seems to be working. This is the beginning of the Crash report: Termination Reason: Namespace FRONTBOARD, >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1&
Replies
3
Boosts
0
Views
192
Activity
Apr ’26
How to add a button on top of sheet?
Hi, I have created this UI using custom view and not a real sheet component. But the animations and interaction is not as smooth. Earlier I was using sheet component and it was working very well, but then I had a need to add a search button on top of sheet (not inside, that is very important). And so I created this whole sheet with custom view and not the sheet component. But it resulted in loss of fluid working and animations that sheet have. Including changing between Medium detent and Large detent. Is it possible to achieve this UI with native sheet component? Or using some other native swiftui view which will have good animation that sheet has?
Replies
2
Boosts
0
Views
555
Activity
Apr ’26
Reply to iOS 26 TabBar Remove Selected Capsule
Thanks for the post. Any chance you can provide a simple focused project we can download and run it to see what you are seeing? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. What happens when you disable Liquid Glass? Do you get the results that you want? When you create a standard UIView (or SwiftUI View) that contains your custom buttons and layout and add custom view to the UITabBarController's view and anchor it to the bottom of the screen. When a user taps a button in your custom view, manually update the selected tab is when you get that result? Are you testing on iOS 26.4? What Xcode version are you using? Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’26
Interface Builder - Xcode 26.4 - Changing Between Attributes Inspector, File Inspector, Etc. Is Now A Pop Up Button?
In Interface Builder there use to be a segmented control to switch Inspectors. It's been this way forever. I could switch from: File Inspector Attributes Inspector Size Inspector Etc... Now in Xcode 26.4, it is this clunky pop up button? What? I thought Apple didn't like Interface Builder anymore so I'm surprised they are even touching it. This part of a SwiftUI rewrite or just bad vibes?
Replies
2
Boosts
0
Views
532
Activity
Apr ’26
Reply to iOS26的TabBar是否支持lottie动画?
It seems you are asking about Lottie animations in the system tab bar. The tab bar (TabView in SwiftUI / UITabBarController in UIKit) supports SF Symbols and animated symbol effects such as .bounce, .wiggle, .breathe etc.. The tab bar does not natively support Lottie animations. For more information, see What's new in SF Symbols 7  Travis
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
Apr ’26
Reply to Production Mac app becomes progressively unusable in Issues workspace; Mac_Dev remains fast
Here is more concrete context. Platform / tools Target: macOS app Language / frameworks: Swift, SwiftUI, SwiftData Cloud sync: SwiftData with CloudKit mirroring in the production configuration Xcode: 26.4 (17E192) Test OS: macOS 26.4 (25E246) What I’m seeing In the macOS app, issue board scrolling can become inconsistent or very slow. Changing an issue status from detail view can be very slow. Scrolling the status menu itself can be slow. Typing in issue description/notes fields can become sluggish. The problem is much more noticeable with my full production-sized dataset than with a small dev dataset. What I’ve tested so far I compared a small dev dataset vs a much larger production-sized dataset. With a small dataset, the same UI feels fast and smooth. With the large dataset, the same UI becomes noticeably slower. I also tested a local-only copy of the production dataset with CloudKit disabled. That improved some behavior, but it did not remove the lag entirely. When I reduced the local test datase
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Apr ’26
Looking for a visionOS collaborator (brief + feedback for spatial prototype)
Hi everyone, I’m a mixed reality designer currently building visionOS experiences (RealityKit + SwiftUI), and I’m working on a course at Arizona State University where we develop a project in response to a real-world client. I’m looking to collaborate with someone in the visionOS ecosystem who would be open to sharing a simple prompt or brief (nothing confidential), which I can use to create a proposal response. The outcome would include: Spatial concept + storyboard Interaction design direction Rough scope, timeline, and team structure Optional small prototype in visionOS The goal on my side is to better understand how spatial work is framed and communicated in real-world scenarios, especially within Apple’s ecosystem. The ask is very lightweight: 1–2 short check-ins during April or async feedback via email A bit about my work: Built Spatial Synesthesia for Apple Vision Pro Eye tracking interaction that isolates instruments in a live orchestral mix based on color perception Working with computer vis
Replies
0
Boosts
0
Views
1.3k
Activity
Apr ’26
Production Mac app becomes progressively unusable in Issues workspace; Mac_Dev remains fast
The production macOS build is showing severe performance problems, while Mac_Dev performs normally. Observed behavior in production Mac build: Issue board scrolling becomes inconsistent or nearly unusable Changing an issue status in detail view is very slow Scrolling the status menu/options can be slow Typing in issue description/notes fields becomes sluggish Dragging issues between milestones/statuses on the board can lag badly Observed behavior in Mac_Dev: Board scrolling is smooth Status changes are immediate Typing in description fields is responsive Drag/drop between milestones works well Important comparison: Mac_Dev appears to run against an isolated local SwiftData store Production Mac app uses the normal CloudKit-backed store Because the same UI is fast in Mac_Dev, this does not look like a pure rendering problem Most likely cause is production store / CloudKit sync churn amplifying existing SwiftUI invalidation and save behavior Current hypothesis: The production app is saving or observing
Replies
2
Boosts
0
Views
568
Activity
Apr ’26
Reply to Previews for SwiftUI views in Packages don't work in Xcode 26.4
I tried to open my project with Xcode 26.5 beta 1 and to view the Preview of some SwiftUI views present in local Packages referenced by the project, and they worked as expected, without any issue. I also tried with the very simple test project, and the result is the same. I can say that this Xcode 26.5 beta 1 behaves like Xcode 25.3. Thank you for this message.
Replies
Boosts
Views
Activity
Mar ’26
Reply to Navigation Bar Title Hidden When Right Bar Button Title Is Long (iOS 26)
How are you setting the title? I tried to reproduce, but getting a different behaviour. import SwiftUI struct ContentView: View { var body: some View { NavigationStack { Text(View) .navigationTitle(BYRON'S GRILLED CHEESE EMPORIUM) .navigationBarTitleDisplayMode(.inline) .toolbar { ToolbarItem(placement: .topBarTrailing) { Text(Cancel Order) } } } } } Which looks like this: And if I remove the .navigationTitle it looks like this:
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’26