Giter Site home page Giter Site logo

Comments (8)

winterrain5 avatar winterrain5 commented on August 28, 2024 1

我在 12.4 上面测试没有复现,你可以建个 Demo 分别使用系统导航栏和 EachNavigationBar 试一下吗?我这边没有12.4.4的测试机。

好的

首先表示感谢,耽误你这么长时间!
说下结果:
我另起了一个新项目,在12.4.4上使用EachNavigationBar也并未发生宽度无法设置的情况(自定义的TitleView和项目保持一致)。
在我自己的项目中,我调整了布局代码到init(frame: CGRect)后,展示就是正常了(之前是在layoutSubView中)。

from eachnavigationbar.

Pircate avatar Pircate commented on August 28, 2024

重写 intrinsicContentSize 还不行吗

from eachnavigationbar.

winterrain5 avatar winterrain5 commented on August 28, 2024

重写 intrinsicContentSize 还不行吗

image

重写后在系统的导航栏上是正常的 (牵扯到另一个问题,为什么有两个导航栏)

image

这是放在EachNavigationBar上的效果

from eachnavigationbar.

Pircate avatar Pircate commented on August 28, 2024

两个导航栏是设计如此,系统的导航栏被我放到最底层了。

titleView 重写了 intrinsicContentSize 在 iOS 12.4.4 不行,其他 iOS 版本没问题是吗?

from eachnavigationbar.

winterrain5 avatar winterrain5 commented on August 28, 2024

两个导航栏是设计如此,系统的导航栏被我放到最底层了。

titleView 重写了 intrinsicContentSize 在 iOS 12.4.4 不行,其他 iOS 版本没问题是吗?

是的 我的另一台iOS13.6是可以的

from eachnavigationbar.

Pircate avatar Pircate commented on August 28, 2024

两个导航栏是设计如此,系统的导航栏被我放到最底层了。
titleView 重写了 intrinsicContentSize 在 iOS 12.4.4 不行,其他 iOS 版本没问题是吗?

是的 我的另一台iOS13.6是可以的

我下载个12.4的模拟器来测试一下

from eachnavigationbar.

Pircate avatar Pircate commented on August 28, 2024

我在 12.4 上面测试没有复现,你可以建个 Demo 分别使用系统导航栏和 EachNavigationBar 试一下吗?我这边没有12.4.4的测试机。

from eachnavigationbar.

winterrain5 avatar winterrain5 commented on August 28, 2024

我在 12.4 上面测试没有复现,你可以建个 Demo 分别使用系统导航栏和 EachNavigationBar 试一下吗?我这边没有12.4.4的测试机。

好的

from eachnavigationbar.

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.