Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mikeabdullah
Created November 5, 2014 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeabdullah/b6bfa44aa2f1b9f1fdf6 to your computer and use it in GitHub Desktop.
Save mikeabdullah/b6bfa44aa2f1b9f1fdf6 to your computer and use it in GitHub Desktop.
UITableViewCell Right Detail layout workaround
- (void)layoutSubviews {
if (self.detailTextLabel.text.length) {
[self.contentView addSubview:self.detailTextLabel];
}
[super layoutSubviews];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment