mwaterfall / MWPhotoBrowser

A simple iOS photo and video browser with grid view, captions and selections.
MIT License
8.75k stars 2.71k forks source link

MWPhotoBrowser and UITabBarController - UITabBar not visible #337

Open laucel opened 9 years ago

laucel commented 9 years ago

Hi, I'm using MWPhotoBrowser (1.4.1 version) as root view controller of a UINavigationController and the UINavigationController is a view controller of an UITabBarController. The problem is that UITabBarController's UITabBar disappears. Am I doing something wrong?

ghost commented 9 years ago

did you ever figure this out ?

laucel commented 9 years ago

@mdaymond actually I didn't, any ideas?

ghost commented 9 years ago

I have tried this

self.navigationController?.pushViewController(browser, animated: true)

but no luck yet. I've also looked at a couple other projects (MHVideoPhotoGallery) - but they seem to follow the same model. I may try to add the browser as a subview to my controller next, but not sure that will end well..

laucel commented 9 years ago

@mdaymond I've tried various solutions myself, with no luck . Let's keep us posted about this issue.

agurod42 commented 8 years ago

Try with hidesBottomBarWhenPushed = false:

photoBrowser = MWPhotoBrowser(delegate: self) photoBrowser!.enableGrid = true photoBrowser!.startOnGrid = true photoBrowser!.hidesBottomBarWhenPushed = false

It worked for me. Regards!