UIFont

Undocumented

  • get size for string of this font

    Declaration

    Swift

    open func stringSize(string: String, constrainedToWidth width: Double) -> CGSize

    Parameters

    string

    a string

    width

    constrained width

    Return Value

    string size for constrained width