Lock orientation for custom tabs

送分小仙女□ 提交于 2019-12-01 05:14:44

Custom Tabs does not currently provide an API that allows the developer to lock the orientation.

As a best practice, developers should always think twice before forcing a specific orientation, as it may be annoying to force the user to use one.

Locking the orientation looks more like something that should be decided by the content being opened inside the Custom Tabs (using an API like this) than something to be handled by the Custom Tab itself.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!