스플래시 변경

This commit is contained in:
Yu Sung 2024-10-12 01:02:53 +09:00
parent 9a461f14ad
commit a92e42b718
9 changed files with 31 additions and 10 deletions

View File

@ -9,7 +9,7 @@
"scale" : "2x"
},
{
"filename" : "splash_bg.jpg",
"filename" : "splash_bg.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@ -9,7 +9,7 @@
"scale" : "2x"
},
{
"filename" : "splash_text.png",
"filename" : "splash_text1.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "splash_text2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -21,12 +21,14 @@ struct SplashView: View {
.scaledToFill()
.edgesIgnoringSafeArea(.all)
HStack(spacing: 0) {
VStack(spacing: 0) {
Image("splash_text1")
.padding(.top, screenSize().height * 360 / 2337)
Spacer()
Image("splash_text")
.padding(.top, 94)
.padding(.trailing, 38)
Image("splash_text2")
.padding(.bottom, screenSize().height * 240 / 2337)
}
if isShowUpdatePopup {
@ -146,8 +148,6 @@ struct SplashView: View {
}
}
struct SplashView_Previews: PreviewProvider {
static var previews: some View {
SplashView()
}
#Preview {
SplashView()
}