RK3568 开机让桌面旋转180度,如何实现? 尝试了william hill官网 里大神的答案添加以下两行代码 编译报错了?
main.cpp:40:18: error: no member named 'SetOrientation' in 'OHOS::Rosen::ScreenManager';
=======================================
OH 3.1 Release版本可以在 foundation\graphic\standard\frameworks\bootanimation\src\main.cpp中
WaitRenderServiceInit();
//增加下面两行
auto screens = OHOS::Rosen::ScreenManager::GetInstance().GetAllScreens();
screens[0]->SetOrientation(OHOS::Rosen::Orientation::HORIZONTAL);
更多回帖