marmelroy / FileBrowser

Finder-style iOS file browser written in Swift
MIT License
1.51k stars 221 forks source link

can i implement directly to controllerView with deleget func #29

Open YanisSalos opened 7 years ago

YanisSalos commented 7 years ago

Hello. can we implement file browser to controller view from storyboard directly instead of present. i have issue with it coz its hide my tab bar and also removing cancel button.

thank you

sanjukhunt commented 7 years ago

I have same issue. I have also tried by adding manually but still not get any success. Please help me. If anybody do this.

Thanks a lot

jansenzjh commented 7 years ago

I have a work-around and it seems fine for me.

    let fileBrowser = FileBrowser(initialPath: dataPath)     
    self.addChildViewController(fileBrowser)
    self.view.addSubview(fileBrowser.view)
    fileBrowser.didMove(toParentViewController: self)
jhoughjr commented 6 years ago

works for me but constraints aren't right in the x axis