Skip to content

[Bug] RewardView에 DeviceScaleView를 씌우면 화면이 꽉 안차는 현상 #30

Description

@MuchanKim

📝 Description

어떤 문제가 발생했는지 명확하고 간결하게 설명해주세요.


🐞 To Reproduce

버그를 재현하는 단계를 설명해주세요.

늘 사용하던 방법대로 뷰를 구현하고, 디바이스 스케일뷰에 넣었더니 화면이 꽉 차지 않네요.

DeviceScaleView {
    // RewardView
}

ignoreSafeArea를 배경에도 적용해보고, DeviceScaleView에도 적용해봤으나 그래도 화면이 차지 않네요.
자세한 사항은 스크린샷을 확인해주세요.


🧐 Expected behavior

정상적인 동작을 설명해주세요.

꽉차는 화면. 스크린샷 참고해주세요.

기존 화면 비율을 조금 늘리니 차긴 하는데, 의견 부탁드립니다. 일단 아래 코드로 해놨습니다!

    var body: some View {
        Image("splash_welcome_background")
            .resizable()
            .frame(width: DeviceConstant.baseWidth * 1.22, height: DeviceConstant.baseHeight * 1.077)
    }

🖼️ Screenshots

가능하다면 스크린샷을 첨부해주세요.

| 정상 화면 | 문제가 있는 화면 |

현재 문제가 있는 화면
배경 이미지 주변에 파란색 여백 발생
정상적인 화면
배경 이미지가 화면을 꽉 채움

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Bugfix큰 버그 수정

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions