As for views in a table view cell, I've seen people getting their views rounded by assigning cornerRadius inside layoutSubviews(), but I didn't have any success with that, the following worked for me even though I personally don't like it.
Add self.layoutIfNeeded() right after super.awakeFromNib() to force layout
No comments:
Post a Comment