Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
43 views

How to make text span full width without truncation in Dynamic Island expanded view using SwiftUI?

Expected: Curernt: I'm building a Live Activity with Dynamic Island support for my iOS app. In the expanded view, I want to display an icon on the left with two text labels stacked vertically to its ...
ArgenBarbie's user avatar
0 votes
1 answer
53 views

Image doesn't fill entire widget

I am trying to build a widget for my app to show countdowns. In the background, it should have an image chosen by the user. Everything in the widget works mostly fine except that the image is not ...
jesusjimsa's user avatar
0 votes
0 answers
53 views

Failed to get FirebaseApp Instance in Xcode Preview after Modularization

Upon moving a view and it's ViewModel(where i am using Firestore) from the main app module to it's own module, my Canvas Previews crash with the error: XCPreviewAgent crashed due to an uncaught ...
Geob's user avatar
  • 614
1 vote
1 answer
51 views

Prevent default file selector in a DocumentGroup app and show a custom welcome window on launch

I’m building a macOS document based app using SwiftUI’s DocumentGroup API. By default, when a document based app launches, macOS automatically shows a file open panel or creates a new untitled ...
Zaid's user avatar
  • 131
0 votes
0 answers
82 views

Map markers cut off when applying ignoresSafeArea() with Google Map

I'm using the iOS Google Maps SDK to show maps in my app. On my maps, I also show some map markers. This has been working great, however I want the map to ignore the safe areas of the device so that ...
user5893820's user avatar
0 votes
0 answers
82 views

TextField not focusing when view appears? [closed]

Not really sure why my code isn't working, but my TextField is not focusing when the view appears. As far as I can tell, my code is correct and follows the recommended solution. What am I doing wrong? ...
user5893820's user avatar
1 vote
2 answers
53 views

ios SwiftUI tabbview overflow "more" page background color

Is there a way to set the background color for the generated "overflow" "more" page for when you have lots of tabs in TabView? SwiftUI iOS
evermore's user avatar
-2 votes
0 answers
77 views

Best practice for editing SwiftData entities with relationships in MVVM (draft context vs. local copy)? [closed]

Question I’m looking for best-practice guidance when editing SwiftData entities using MVVM architecture. Example scenario Let’s assume I have a SwiftData entity called Entity, which has a one-to-one ...
christophriepe's user avatar
0 votes
1 answer
48 views

iPadOS26 SwiftUI Table component content scrolls visible behind header

Issue After upgrading to Xcode 26 and iPadOS26 I recognized that if I am using the SwiftUI Table-component and I scroll the content, the content will flow behind the header and is still visible. It ...
Tobonaut's user avatar
  • 2,512
0 votes
1 answer
63 views

Sharing ViewModels in SwiftUI Navigation Using @Observable Without Recreating Them

I think the Environment approach would work, but my codebase is already quite large and everything is working fine. However, the initializer for each view model is called frequently. I’ll try to ...
lokredi's user avatar
  • 27
0 votes
0 answers
22 views

How to stop SwiftUI popup from clipping content [duplicate]

How do we stop SwiftUI's popup from clipping its content? struct PopUpIssue: View { @State private var showPopup = false var body: some View { Text("Tap Me") ...
Philip Pegden's user avatar
0 votes
1 answer
83 views

How can you achieve iMessage tab view behavior? [closed]

In the iMessage app, when you navigate to a person's info by tapping on their display picture, you're taken to a view with options to call/facetime them and beneath that is a tabview comprising of a ...
Sabesh Bharathi's user avatar
1 vote
1 answer
79 views

glassEffect not visible on button

Trying to glassEffect() for this after applying I see no changes , this button is placed in Sheet Button(action: { Task { await generateRecommendation() } }) { HStack { ...
Vaibhav Kulkarni's user avatar
0 votes
0 answers
60 views

Why does my code to change the systemImage color in a SwiftUI tabItem break the color change on selection?

I want to use the "homepod.fill" systemImage as the icon in a iOS tab bar like so: MyView() .tabItem { Label("MyView", systemImage: "homepod.fill") } The problem ...
Peter M's user avatar
  • 7,571
1 vote
1 answer
71 views

Navigation header disappears with custom background color in Form view on iOS 26 SDK

I am encountering an issue when building my SwiftUI app with the iOS 26 SDK. When I use a custom background color for the navigation bar in a Form view, the navigation header disappears. This only ...
PSkyMax's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
2780