Skip to content

Using UIWebView with MMMarkdown #37

@LinnierGames

Description

@LinnierGames

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions