We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我的cell是使用storyboard创建的。TYAttributedLabel是一个固定高度的view,我在配置Cell时使用- (void)appendView:(UIView *)view;添加个宽高都小于TYAttributedLabel的label, 然后使用- (void)appendText:(NSString *)text;拼接了一个文本。但当我运行时,发现前者view和后者text不在同一水平线上(前者高,后者低)。然后我尝试把TYAttributedLabel的高度设置为更大的值,布局就显示正常了。这是怎么回事呢?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我的cell是使用storyboard创建的。TYAttributedLabel是一个固定高度的view,我在配置Cell时使用- (void)appendView:(UIView *)view;添加个宽高都小于TYAttributedLabel的label, 然后使用- (void)appendText:(NSString *)text;拼接了一个文本。但当我运行时,发现前者view和后者text不在同一水平线上(前者高,后者低)。然后我尝试把TYAttributedLabel的高度设置为更大的值,布局就显示正常了。这是怎么回事呢?
The text was updated successfully, but these errors were encountered: