-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathImageUploadView.swift
40 lines (31 loc) · 1.13 KB
/
ImageUploadView.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// ImageUploadView.swift
// Capstone_Front
//
// Created by 최유빈 on 5/30/24.
//
import SwiftUI
struct ImageUploadView: View {
@Environment(\.presentationMode) var presentationMode: Binding<PresentationMode>
@Binding var showBottomNavBar: Bool
var body: some View {
NavigationView {
ZStack {
Color(hex: "3A3532").ignoresSafeArea() // 전체 배경색 설정
ScrollView {
VStack(spacing: 50) {
Spacer() // 첫 번째 요소를 하단으로 밀어내는 Spacer 삭제
ImageSelectView()
FeedInfoView()
}
.padding(.top, 1) // 상단의 컨텐츠가 SafeArea에 닿지 않도록 패딩 조정
}
}
}
.navigationBarBackButtonHidden(true)
.navigationBarItems(leading: customBackbutton(action: { showBottomNavBar = false }, buttoncolor: Color.white))
}
}
//#Preview {
// ImageUploadView()
//}