Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
59 questions
Filter by
Sorted by
Tagged with
0votes
2answers
95views

I’m trying to build an image carousel similar to the one in the App Store, but I'm a facing a lay-out issue.The carousel should:Automatically adjust its height based on its contentAutomatically ...
Hozen's user avatar
1vote
1answer
77views

I'm building an iOS Widget (WidgetKit) with a 2×2 button grid using GeometryReader to calculate row heights. The buttons should fill theircontainers completely and have equal heights, like Apple's ...
1vote
2answers
123views

I'm newish to SwiftUI and trying to understand how I can keep one view horizontally centered on the device screen, while anchoring an additional view to its trailing edge (without uncentering the ...
0votes
1answer
91views

I have the following example view with no zIndex modifications. Currently, when selecting a grid item, it will animate to the center of the screen. However, this does not change zIndex and items will ...
0votes
0answers
51views

I'm working with SwiftUI and I have a rectangle inside a ZStack that I want to rotate. However, the rotation is happening around the center of the entire ZStack, not the center of the rectangle itself....
1vote
2answers
524views

Simplest Way to Set Specific Width Ratios for Child Elements in an HStack in SwiftUIHello,I am working with SwiftUI and wondering if there's a straightforward method to set the widths of child ...
Kngw Kngw's user avatar
0votes
1answer
335views

I'm curious, has anyone run into this before? I have a situation where long Text that is inside a width-limited view is being unnecessarily truncated so that it fits vertically within the parent. Is ...
Curious Jorge's user avatar
0votes
1answer
225views

I have a UIView wrapped around a SwiftUI View. I later change the UIView size but somehow it always get back to the original size.I have SwiftUI View wrapping around an UIView like this. This is one ...
DevNoob's user avatar
0votes
1answer
118views

I am trying to recreate Whatsapp's message reply functionality in SwiftUI.Basically I have a view that represents a message and the max width of the message is 300. So when a message has an older ...
Nate's user avatar
0votes
1answer
87views

I've defined a custom layout container by having a struct conform to Layout and implementing the appropriate methods, and it works as expected.The problem comes when trying to display Image, as they ...
Thecafremo's user avatar
8votes
0answers
178views

This is a bug I have been trying to identify and fix for more than 3 weeks.This bug mostly happens in production.The stack trace doesn't help that much, because it looks like the app is crashing due ...
0votes
1answer
532views

I'm writing custom SwiftUI layout and calculate container height based on child sizes. To get height of a subview I use .sizeThatFits(.unspecified) in next method:public func sizeThatFits( ...
Igor Ševtšenko's user avatar
0votes
0answers
553views

I am using SwiftUI Charts framework at this moment to display the last 30 days of data. As you see in code, the x axis each line is new day. The chart and animation is working fine. But the ...
1vote
2answers
540views

I would like to add vertical scrolling to my custom layout. I don't know how to do it.I have added my code below for reference. Thanks in Advance.struct TokenData { let email: String}let ...
0votes
1answer
2kviews

I have been brainstorming ideas for implementing a button dropdown view similar to what you see in a default Picker. I have been experimenting with this in general to find a way to overlay a view on ...

153050per page
1
234

Hot Network Questions

more hot questions
Newest swiftui-layout questions feed

[8]ページ先頭

©2009-2025 Movatter.jp