Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
101 views

I want to create a custom class for a stack that will show some kind of stacked cards effect like so: It will be used on top of the Main / Root container. The stack will be aligned at the bottom of ...
Bawenang Rukmoko Pardian Putra's user avatar
0 votes
1 answer
61 views

I want to place a VStack including a few Text-Views in the center of the screen with a white background and opacity 50%. Therefore I tried the GeometryReader and know that it tries to consume 100% of ...
Gerrit's user avatar
  • 2,707
1 vote
2 answers
477 views

while building my app i encountered an issue that when i embed a DatePicker inside VStack and implement a onTapGesture on VStack then the DatePicker won't open calendar to pick dates on click. VStack(...
ADITYA RAJ's user avatar
0 votes
1 answer
64 views

We have vertically aligned multiple labels and top tight Image is align to first label. If first label has not enough content then second label will be move up and vice versa. image height will be ...
Vishal Desai's user avatar
0 votes
2 answers
162 views

Consider the following setup (it's not the neatest display, but it was the quickest way I could think of to replicate my problem): class IdentifiableString: Identifiable, Hashable { static func ==(...
Silver-Elder's user avatar
3 votes
2 answers
2k views

I'm experiencing this issue and not user if it's a swift ui bug or expected behaviour. Could not find something related to this online. Given this view struct ContentView: View { var body: some View ...
Daniel's user avatar
  • 1,263
1 vote
0 answers
297 views

See the code below. The setup: There are only 3 items in the LazyVStack. The code scroll to the last item when the view is shown on the screen. The result: +--------------+ +--------------+ | ...
rayx's user avatar
  • 1,790
0 votes
2 answers
159 views

The VStack has two components header and detail. When we tap on the "show" button, it shows the View (header + detail of the VStack). However, it results in Flashing effect when the view ...
NNikN's user avatar
  • 3,858