Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 DJI 演示代码中,
var statusBarVC = DULStatusBarViewController() guard let preflightChecklistWidget = self.statusBarVC.widget(at: 1) else { return; }
我们可以得到widget对象。但我不确定如何更改 DJI 徽标。
我可以创建一个新的小部件来替换它吗?
http://developer.dji.com/mobile-sdk/documentation/introduction/ui_library_introduction.html#asset-swap
根据文档,您需要换出资产。他们需要保持与原件相同的名称和像素尺寸。