Comments (7)
我这个库在zoom放大状态下是不支持滑动隐藏的,出现该问题应该是zoom恢复原图操作时,其实并没有恢复到原图,还是在zoom放大状态,你可以多试几次,看看是不是我说的这个情况
from gkphotobrowser.
zoom 放大, 然后zoom缩小后会自动恢复大小, 自动恢复之后的BUG, 我尝试多次,每次都会出现
from gkphotobrowser.
这个问题我这里确实没复现,你用的版本是最新的吗?
from gkphotobrowser.
我使用的是 2018.11.9 的旧版本, 然后在仓库拉取的最新版本的demo中也复现了
from gkphotobrowser.
对了, 我忘了, 这个情况是在X 系列复现的。 我刚才测试了一下, 非X系列没有这个问题
from gkphotobrowser.
x系列我在模拟器上试了,没问题,你那边如果有真机可以帮忙看看问题出在哪
from gkphotobrowser.
在xsMax 的机器和模拟器, 我观察到 GKPhotoBrowser.m
509 行:
UIDeviceOrientation orientation = [UIDevice currentDevice].orientation;
会出现 UIDeviceOrientationUnknow
这种类型, 同时 self.isPortraitToUp 为 NO
,
实际上设备是Portrait (bottom home button)
。
但是我在XR/ XS 和X 上 并没有发现此问题,
另外我观察到, 第一次xsMax 获取到总是UIDeviceOrientationUnknow
, 通过重新获取即可修正此问题, 所以我在 上面提到的509行之前添加了重新获取设备方向的调用, 解决了此问题。
你可以在模拟器 xsMax 上尝试复现此问题。
from gkphotobrowser.
Related Issues (20)
- 是否可以增加支持竖屏充满显示 HOT 1
- 浏览视频,划出屏幕后再划回来,player下移 HOT 8
- 2.5.4 版本 isAdaptiveSafeArea 失效了 HOT 1
- 支持图片编辑等涂抹工具吗? HOT 1
- hidesPageControl 不生效 HOT 2
- 视频自动播放问题 HOT 1
- 超大分辨率图会占用超大内存导致爆掉 HOT 10
- 回调方法index数组越界crash问题 HOT 2
- 自定义保存按钮会导致 pageControl 等不生效了 HOT 1
- iPhone X 设置了 isAdaptiveSafeArea = YES,一开始展示的效果是对的,但是放大后,底部出现黑边了
- saveBtn设置显示不生效 HOT 3
- 图片的双击事件 和 缩放事件 没有代理方法露出给外部 HOT 2
- asset 图片加载问题 HOT 2
- 滑动时候会出现的图片叠加问题 HOT 1
- imageAsset 加载问题 HOT 4
- 'ZFPlayer/ZFPlayer.h' file not found
- 几点建议 HOT 2
- 加载本地内存中的图片和视频 HOT 1
- UIGraphicsBeginImageContextWithOptions 方法里面宽或高0,在iOS17会奔溃,希望您的库先优化处理下。 HOT 1
- 横屏下安全区域的处理问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gkphotobrowser.