Skip to content

Commit

Permalink
๐ŸŽจ :: [#50] Edit PostDetailView Image Scroll ์ค‘๋ณต์ฝ”๋“œ ์ œ๊ฑฐ
Browse files Browse the repository at this point in the history
  • Loading branch information
Xixn2 committed Nov 11, 2024
1 parent 4525b18 commit 7ce6e1c
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,19 @@ struct PostDetailView: View {
.expoFont(.body1B)
}
}

ScrollView {
TabView(selection: $postImageCount) {
ExpoIOSAsset.Assets.postTestImage.swiftUIImage
.resizable()
//.padding(.top, 28)
//.padding(.horizontal, 16)
.frame(width: 343, height: 178)
.cornerRadius(6)
.tag(true)
.tag(false)

ExpoIOSAsset.Assets.testimage.swiftUIImage
.resizable()
//.padding(.top, 28)
//.padding(.horizontal, 16)
.frame(width: 343, height: 178)
.cornerRadius(6)
.tag(false)
.tag(true)
}
.frame(width: 343, height: 178)
.cornerRadius(6)
.tabViewStyle(.page)

HStack(spacing: 8) {
Expand Down

0 comments on commit 7ce6e1c

Please sign in to comment.