LBPhotoBrowser
LBPhotoBrowser copied to clipboard
本地加载图片的时候,可以去掉关闭+删除 导航栏吗?
没有太好的方法 需要修改代码才能完成
好,没关系,我这边改下代码谢谢
------------------ 原始邮件 ------------------ 发件人: "llb"[email protected]; 发送时间: 2019年4月24日(星期三) 中午11:06 收件人: "tianliangyihou/LBPhotoBrowser"[email protected]; 抄送: "黄世文"[email protected]; "Author"[email protected]; 主题: Re: [tianliangyihou/LBPhotoBrowser] 本地加载图片的时候,可以去掉关闭+删除 导航栏吗? (#31)
没有太好的方法 需要修改代码才能完成
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
这个如果直接把导航栏代码注释的话 可能会导致点击无效,你可以先修改一下试试,需要我配合的谁,可以说一下
不行,我试过了
------------------ 原始邮件 ------------------ 发件人: "llb"[email protected]; 发送时间: 2019年4月24日(星期三) 中午11:35 收件人: "tianliangyihou/LBPhotoBrowser"[email protected]; 抄送: "黄世文"[email protected]; "Author"[email protected]; 主题: Re: [tianliangyihou/LBPhotoBrowser] 本地加载图片的时候,可以去掉关闭+删除 导航栏吗? (#31)
这个如果直接把导航栏代码注释的话 可能会导致点击无效,你可以先修改一下试试,需要我配合的谁,可以说一下
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
我一会给你看下吧
1 注释导航栏相关的代码逻辑 2 尝试找到线面这个代码 这样注释一下
- (void)didTap:(UITapGestureRecognizer *)tap {
// if (self.model.imageFromURLString) {
CGPoint point = [tap locationInView:(UIView *)_zoomScrollView.imageView];
[_zoomScrollView handlesingleTap:point];
// }else {
// [LBPhotoBrowserManager defaultManager].navigationBar.hidden = ![LBPhotoBrowserManager defaultManager].navigationBar.hidden;
// }
}
好. 谢谢
------------------ 原始邮件 ------------------ 发件人: "llb"[email protected]; 发送时间: 2019年4月24日(星期三) 下午2:13 收件人: "tianliangyihou/LBPhotoBrowser"[email protected]; 抄送: "黄世文"[email protected]; "Author"[email protected]; 主题: Re: [tianliangyihou/LBPhotoBrowser] 本地加载图片的时候,可以去掉关闭+删除 导航栏吗? (#31)
1 注释导航栏相关的代码逻辑 2 尝试找到线面这个代码 这样注释一下
- (void)didTap:(UITapGestureRecognizer *)tap { // if (self.model.imageFromURLString) { CGPoint point = [tap locationInView:(UIView *)_zoomScrollView.imageView]; [_zoomScrollView handlesingleTap:point]; // }else { // [LBPhotoBrowserManager defaultManager].navigationBar.hidden = ![LBPhotoBrowserManager defaultManager].navigationBar.hidden; // } }
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.