dji-sdk / Mobile-UXSDK-iOS

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.
Other
72 stars 40 forks source link

DUXDefaultLayoutViewController如何去掉statusViewController,或者使FPVView全屏但保留姿态球? #90

Closed lhcn closed 3 years ago

lhcn commented 3 years ago

直接使用DUXDefaultLayoutViewController的时候,状态栏浪费空间。想实现和go4一样全屏的FPV,同时状态栏在上面挡住,能否实现?

想法1:用自己的UIViewController 嵌入DUXFPVViewController 和DUXStatusBarViewController 可以实现全屏。但是没有 DUXAttitudeBallWidget(姿态球Widget)

想法2:使用 DUXDefaultLayoutViewController,定制隐藏状态栏,然后自己重新引入DUXStatusBarViewController。是否能实现

想法3:用MobileSDK能否获取到足够的数据,自己画一个姿态球?

lhcn commented 3 years ago

已找到DUXCompassWidget