Created
August 7, 2019 08:58
-
-
Save Andrewmika/8509285ae1dd60ab2d62d9a9e13f08da to your computer and use it in GitHub Desktop.
cal textSize
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[prompt.text boundingRectWithSize:CGSizeMake(CGFLOAT_MAX, 36) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:14]} context:nil].size |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
textSize