Stomastolle
lvl.2
Sweden
Offline
|
I'm also struggling with this, but I'm using swift. I'm a beginnner..
I found the setting under the DUXFPVViewController, but I cannot figure how to subclass my mainViewcontroller to get to that setting..
So if I do:
public class MainViewController: DUXFPVViewController {
override public func viewDidLoad() {
super.viewDidLoad()
self.fpvView?.showCameraDisplayName = false
}
}
I get the FPV stream without the camera name label, but nothing else. No statusbar etc.
if I do
public class MainViewController: DUXDefaultLayoutViewController {
override public func viewDidLoad() {
super.viewDidLoad()
}
}
From here the fpvView is not accessible since the DUXFPViewController is not related to DUXDefaultLayoutViewController.
I get all the menubars etc, the live feed AND the unwanted camera name label
However, if I subclass both controllers I get "multiple inheritance from classes" error, like so:
public class MainViewController: DUXDefaultLayoutViewController, DUXFPVViewController {
...}
How do I subclass or inherit to get to the setting from my mainViewController that is subclassed from DUXDefaultLayoutViewController?
Any advise is appreciated! |
|