![](/img/trans.png)
[英]iOS: Viewcontroller subclassed from MWPhotoBrowser-images are not loaded
[英]MWPhotoBrowser iOS 7 weird positioning
在iOS 7中,MWPhotoBrowser使用第一个显示图像的奇怪坐标。 我查看了代码,但我没有得到它。
在iOS 6中,只能在浏览器中水平拖动/滑动图像,但在iOS 7中,它可以移动到任何方向。
也许有人对此有所了解。
@see: https : //github.com/mwaterfall/MWPhotoBrowser/issues/126
如https://github.com/mwaterfall/MWPhotoBrowser/issues/126#issuecomment-24834650所评论
你需要添加
if ([self respondsToSelector:@selector(automaticallyAdjustsScrollViewInsets)]){
self.automaticallyAdjustsScrollViewInsets = NO;
}
到MWPhotoBrowser的viewDidLoad 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.