Closed adolfo closed 2 years ago
Dear Customer,
Thank you for contacting DJI. To help us collect questions in detail, please fill in the form below and we will handle this ticket once we have received it. https://formcrafts.com/a/dji-developer-feedback-en
It is not possible to access the external accessories (
DUXSpeakerWidget
,DUXSpotlightWidget
, etc.) from theDUXLeadingBarViewController
. When attempting to fetch these widgets using the following method, the result is alwaysnil
:The expectation is that the
widget(with: AnyClass)
would return the nested widget.The only workaround I've found is to iterate through the child views of the non-public
DUXExternalAccessoryWidgetBase
widget:Perhaps this is a bug or there is a better way to acquire a reference to the accessory widgets.