TableViewCellWithAutoLayoutiOS8
TableViewCellWithAutoLayoutiOS8 copied to clipboard
Using UIWebView with MMMarkdown
I was able to use the PureLayout just fine. But i was hoping if I added a UIWebView as followed:
[self.webview autoPinEdge: ALEdgeTop toEdge: ALEdgeBottom ofView: self.labelTitle withOffset: 10.0 relation: NSLayoutRelationGreaterThanOrEqual];
[self.webview autoPinEdgeToSuperviewEdge: ALEdgeLeading withInset: kLabelHorizontalInsets];
[self.webview autoPinEdgeToSuperviewEdge: ALEdgeTrailing withInset: kLabelHorizontalInsets];
[self.webview autoPinEdgeToSuperviewEdge: ALEdgeBottom withInset: kLabelVerticalInsets];
Sadly the frame of the web view was always zero.