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
73 stars 43 forks source link

Hide map that now shows in 4.3 #12

Closed Daxito closed 6 years ago

Daxito commented 6 years ago

Hi, I just updated the library from 4.2 to 4.3 and there is a map in one corner of the screen that I am not sure how to hide, are there any docs about how to hide this?

Thanks

fontained commented 6 years ago

Hi @Daxito, I had the same request and I did it like this. In you main controller, if (self.previewViewController is DULMapViewController){ self.previewViewController?.view.isHidden = true } Hope this will help you. Best regards

Daxito commented 6 years ago

@fontained it worked!! Thanks!!