Giter Club home page Giter Club logo

Comments (7)

QuintGao avatar QuintGao commented on August 28, 2024

我这个库在zoom放大状态下是不支持滑动隐藏的,出现该问题应该是zoom恢复原图操作时,其实并没有恢复到原图,还是在zoom放大状态,你可以多试几次,看看是不是我说的这个情况

from gkphotobrowser.

quanh avatar quanh commented on August 28, 2024

zoom 放大, 然后zoom缩小后会自动恢复大小, 自动恢复之后的BUG, 我尝试多次,每次都会出现

from gkphotobrowser.

QuintGao avatar QuintGao commented on August 28, 2024

这个问题我这里确实没复现,你用的版本是最新的吗?

from gkphotobrowser.

quanh avatar quanh commented on August 28, 2024

我使用的是 2018.11.9 的旧版本, 然后在仓库拉取的最新版本的demo中也复现了

from gkphotobrowser.

quanh avatar quanh commented on August 28, 2024

对了, 我忘了, 这个情况是在X 系列复现的。 我刚才测试了一下, 非X系列没有这个问题

from gkphotobrowser.

QuintGao avatar QuintGao commented on August 28, 2024

x系列我在模拟器上试了,没问题,你那边如果有真机可以帮忙看看问题出在哪

from gkphotobrowser.

quanh avatar quanh commented on August 28, 2024

在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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.