TableViewCellWithAutoLayoutiOS8 icon indicating copy to clipboard operation
TableViewCellWithAutoLayoutiOS8 copied to clipboard

Using UIWebView with MMMarkdown

Open LinnierGames opened this issue 9 years ago • 0 comments

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.

LinnierGames avatar Mar 31 '16 04:03 LinnierGames