Action/Options menu is not visible in the first launch, it appears when I go to full screen mode and come back to normal mode. Attached screenshots for reference. What am I doing wrong? Here is the code:
let docController = UIDocumentInteractionController(url: url!)
docController.delegate = self
docController.presentPreview(animated: true)
and the delegate method:
override func documentInteractionControllerViewControllerForPreview(_ controller: UIDocumentInteractionController) -> UIViewController {
return self.navigationController!
}
and is there a way that I can change the bottom bar color (which holds the Action/Options menu button) to black?