Last active
August 29, 2015 14:04
-
-
Save muukii/1bc878babe2be43178f9 to your computer and use it in GitHub Desktop.
先頭にアイコンを付けた文字列で、アイコンの縦位置がずれる場合の調整
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
[mutableAttributedString addAttribute:NSBaselineOffsetAttributeName | |
value:@(-1.) | |
range:NSMakeRange(0, 1)]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment