.overlay(
Rectangle()
.stroke(PWColor.gray100, lineWidth: 1)
)
// .border(PWColor.gray100, width: 1)
์๋border์ ์ฌ์ฉํ๋ฉด frame์ผ๋ก ์ธ์ํ๊ฒ ๋จ.
ํด๋น ์์ญ ๊น์ง ์กํ์ VStack์ผ๋ก ์์ผ๋ฉด ์ค๊ฐ์ 2๊ฐ ๋จ
'iOS ๐ > SwiftUI' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[SwiftUI] NavigationLink (0) | 2023.12.30 |
---|---|
[SwiftUI] Custom Toggle (0) | 2023.11.13 |
[SwiftUI] Shape path๋ก Tooltip ๊ทธ๋ฆฌ๊ธฐ (0) | 2023.11.06 |
SwiftUI LifeCycle ํํค์น๊ธฐ ๐ฎ (1) | 2023.10.31 |
[SwiftUI] VStack ๊ณผ LazyVStack ๋ญ๊ฐ ๋ค๋ฅธ ๊ฑธ๊น? (1) | 2023.10.08 |