마이페이지 탭에 보이스 크리에이터 지원하기 배너 추가
This commit is contained in:
21
SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/Contents.json
vendored
Normal file
21
SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "img_apply_creator.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/img_apply_creator.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/img_apply_creator.imageset/img_apply_creator.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@@ -126,6 +126,18 @@ struct MyPageView: View {
|
|||||||
.padding(.horizontal, 24)
|
.padding(.horizontal, 24)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let url = URL(string: "https://bit.ly/4h7pVks"),
|
||||||
|
UIApplication.shared.canOpenURL(url) {
|
||||||
|
// Voice On Banner
|
||||||
|
Image("img_apply_creator")
|
||||||
|
.resizable()
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
|
.padding(.horizontal, 24)
|
||||||
|
.onTapGesture {
|
||||||
|
UIApplication.shared.open(url)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if let url = URL(string: "https://blog.naver.com/sodalive_official"),
|
if let url = URL(string: "https://blog.naver.com/sodalive_official"),
|
||||||
UIApplication.shared.canOpenURL(url) {
|
UIApplication.shared.canOpenURL(url) {
|
||||||
// Voice On Banner
|
// Voice On Banner
|
||||||
|
|||||||
Reference in New Issue
Block a user