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

iOS6 and iOS7 issues #167

Closed hemangshah closed 10 years ago

hemangshah commented 10 years ago

I've implemented this "beautiful" library in my project, and it's superb. I've some problems right now in different iOS versions.

This is the scenario of the app, I've created a custom tab bar something like, adding UITabBarController in the project, and above it showing, customized UIView, which will act like tabs.

iOS6 issue:

iOS7 issue:

What's reason for that? Have anyone had such issue?

mwaterfall commented 10 years ago

Are you using a standard UITabBarController, or your own container controller?

Have you tried adding your custom tab bar view as a sub-view of the UITabBarController's own UITabBar? This way, when the VC disappears, your own customised tabbar will disappear too.

Once you have done that, if you are still having any issues then some screenshots might be useful to see what's happening.

hemangshah commented 10 years ago

I'd solved the problem of iOS6 by reloading browser in will appear method, also hiding the custom tab bar was due to having same tag I've assigned to it, in your browser you're also hiding some view with the same tag. So I consider changing my tag to somewhat else, and now it's all working just fine! :)