Giter Site home page Giter Site logo

Comments (5)

nsomar avatar nsomar commented on September 8, 2024

Hey, Thanks for the great info, I will definitely address this on the weekend.

from oalayoutanchor.

nsomar avatar nsomar commented on September 8, 2024

Hello,

Was the tableView added in the XIB? or did you add it by code?

In iOS9 the tableview constraints look like they are auto resizing mask constraints, specifically:

"<NSAutoresizingMaskLayoutConstraint:0x7fd71b9b9620 h=--& v=--& UIView:0x7fd71b82a3e0.midX == + 177.5>",
"<NSAutoresizingMaskLayoutConstraint:0x7fd71b9b7ad0 h=--& v=--& H:[UIView:0x7fd71b82a3e0(355)]>",
"<NSAutoresizingMaskLayoutConstraint:0x7fd71b9b9a10 h=--& v=--& UIView:0x7fd71b82a3e0.midY == + 32>",
"<NSAutoresizingMaskLayoutConstraint:0x7fd71b9b84b0 h=--& v=--& V:[UIView:0x7fd71b82a3e0(64)]>"

Additionally, I tried the code you provided, I got the following layout:

Would it be possible to have a sample runnable project that reproduces this as I am unable to reproduce it?

from oalayoutanchor.

nsomar avatar nsomar commented on September 8, 2024

@mergesort Any more info about this one?

from oalayoutanchor.

mergesort avatar mergesort commented on September 8, 2024

@oarrabi Sorry, I haven't had much time to look into it after this weekend. I was adding the tableView in code, not in a XIB. I tried making a sample project, and everything laid out just fine.

I'm currently trying to replace PureLayout, and subbing in equivalent constraints, and that's where I'm seeing the issues. I'm not sure why, but when I replace the OALayoutAnchors with UILayoutAnchors (and test on iOS 9), it lays out fine, but I don't have any definitive information right now because I'm trying to move forward in a project during that time. 😞

Sorry I don't have any more information right now on the topic.

from oalayoutanchor.

mergesort avatar mergesort commented on September 8, 2024

This is no longer relevant... I'm going to close it out so people don't think there's a bug looming anymore.

from oalayoutanchor.

Related Issues (4)

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.