I currently have a UIView that programmatically has an embedded QLPreviewController in it. I need to get rid of the default navigator bar that the QLPreviewController has when the document/url is loaded. Is there a way to do this?
Currently, I've tried subclassing QLPreviewController and in the viewDidAppear
set self.navigationController!.navigationBarHidden = true
. But this doesn't work.
Sorry if this is a dupe question - I've been looking online the last few days and couldn't find a concrete answer with iOS 8/9.