Comments (5)
Hey, Thanks for the great info, I will definitely address this on the weekend.
from oalayoutanchor.
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.
@mergesort Any more info about this one?
from oalayoutanchor.
@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.
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)
- Nil layoutAnchor HOT 4
- Can't compile on Xcode 7 beta HOT 3
- `layoutMarginsGuide` Support HOT 2
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 oalayoutanchor.