-1

I am using MWPhotobrowser library as a photo viewer in my app. There is an option one can set e.g..

Mbrowser.wantsFullScreenLayout=YES;

This shows the photos in fullscreen mode. All works good.

But when i use PKRevalController library in my app

https://github.com/pkluz/PKRevealController

It makes my photobrowser leave a space equal to height of status bar over the navigation controller. It happens when the navigation controller over the photo viewer disappears.

When i disable the wantsFullScreenLayout then it gets ok but always shows the status bar.

I dont know what is causing it. Any help will be much appreciated. Please refer to screen shot..!

enter image description here

4

1 回答 1

0

PKRevealControllerrootViewControllertopViewController。_ 这MWPhotoBrowser只是一个可以subView这么说的。

简单MWPhotoBrowser的方法:ModelPKRevealController. 而不是推动它。也许让动画组装“推”

困难的方法:侵入MWPhotoBrower viewWillAppear并隐藏statusBar并将其框架设置为(0, -20, weight, height+20). 并statusBarviewWillDisappear.

我的建议:

MWPhotoBrowser真的很旧,并且不再维护,仍在使用旧版本的SDWebImage. 也许考虑切换到其他照片浏览库。

于 2013-05-18T08:34:49.410 回答