Closed indrajitsinh closed 8 years ago
Hi @indrajitsinh, I believe you are trying to present too early. As the error says, the view is not yet in the hierarchy when ViewDidLoad is called. You should present the file browser at a later view controller delegate (e.g. viewDidAppear) or in reaction to a button press.
Hope that helps, Roy
Display just blank screen and below warning
2016-06-28 20:52:04.797 FIleBrowserDemo[2533:43383] Warning: Attempt to present <FileBrowser.FileBrowser: 0x7fbe4b849a00> on <FIleBrowserDemo.ViewController: 0x7fbe4a5a9230> whose view is not in the window hierarchy!
import UIKit import FileBrowser
class ViewController: UIViewController {
}