The font of the UITextView is zero, but I set it to the storyboard

SYBListWeiBoCellView is a custom cell and it has a UITextView. I set the font UITextview in the storyboard and make an IBOutlet in SYBListWeiBoCellView called repoText. When I get SYBListWeiBoCellView through

SYBListWeiBoCellView *cell = [tableView dequeueReusableCellWithIdentifier:@"weiboCell"];
UIFont *font = cell.repoText.font;

the font rotates to zero, this should be the value that I set in the storyboard.

here qaru.site/questions/41967 / ... someone says about it.

+4
source share

All Articles