IOS MWPhotobrowser issue -


i using mwphotobrowser library photo viewer in app. there option 1 can set e.g..

mbrowser.wantsfullscreenlayout=yes; 

this shows photos in fullscreen mode. works good.

but when use pkrevalcontroller library in app

https://github.com/pkluz/pkrevealcontroller 

it makes photobrowser leave space equal height of status bar on navigation controller. happens when navigation controller on photo viewer disappears.

when disable wantsfullscreenlayout gets ok shows status bar.

i dont know causing it. appreciated. please refer screen shot..!

enter image description here

the pkrevealcontroller rootviewcontroller or topviewcontroller. mwphotobrowser subview speak.

easy way: show mwphotobrowser in model pkrevealcontroller. instead of pushing it. maybe make animation assemble 'pushing'

hard way: hacking mwphotobrower viewwillappear , hide statusbar , set it's frame (0, -20, weight, height+20). , reset statusbar in viewwilldisappear.

my suggesting:

mwphotobrowser old, , hasn't been maintained more, still using legacy version of sdwebimage. maybe considering switching other photo browsing lib.


Comments