Skip to content

세로화면 앱에서 휴대폰을 가로로 돌린뒤 Close하면 화면이 가로로 돌아갑니다 #553

@ekdrnqkdrn

Description

@ekdrnqkdrn

Service

  • [V ] WebView
  • AssetManagement
  • Communicator
  • LogViewer
  • Manager
  • UI
  • Profiler
  • Adapter
  • DLST

Version

2.2.0

Summary

세로 화면 앱에서 휴대폰을 가로로 돌리고 GpmWebView.Close() 호출을 하면 화면이 가로로 돌아갑니다.

    var configuration = new GpmWebViewRequest.Configuration
    {
        style = GpmWebViewStyle.POPUP,
        isClearCookie = true,
        isClearCache = true,
        isNavigationBarVisible = false,
        isCloseButtonVisible = false,
        supportMultipleWindows = true,
        isBackButtonVisible = false,
        isForwardButtonVisible = false,
        orientation = (int)ScreenOrientation.Portrait,

        position = new GpmWebViewRequest.Position
        {
            hasValue = true,
            x = 0,
            y = webViewPositionY
        },

        size = new GpmWebViewRequest.Size
        {
            hasValue = true,
            width = Screen.width,
            height = webViewHeight
        },

#if UNITY_IOS
contentMode = GpmWebViewContentMode.MOBILE,
isMaskViewVisible = false,
#endif
};

세팅도 Portrait로 했는데 사용중에는 문제가 없지만 웹뷰를 끌때 화면이 가로로 돌아 가집니다.
해당 증상 처리할수 있는 방법이 있을까요?

Metadata

Metadata

Assignees

Labels

WebViewService : WebViewquestionIssue type : Question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions