我正在開發應用程序,它實際上就像PDF閱讀器。在這裏,我使用UIDocumentIntractionController
來閱讀文檔。但是當我打電話給[documentController presentPreviewAnimated:YES]
時,我的導航欄顏色變得透明和暗淡。我認爲這是因爲提出了ViewController
。爲了避免這種情況,我正在尋找一些機制,可以將文檔推送到導航堆棧,而不是將文檔呈現給我的文檔。引導我的想法。將UIDocumentIntractionController推送到UINavigationController
在此先感謝。
[self.documentInteractionController presentPreviewAnimated:YES]; – Sport
嘿,我已經這樣做了。 –