Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
textLabelと の両方を使用することは理にかなっていますかcontentView、UITableViewCellそれとも一方が他方を「カバー」しますか?
textLabel
contentView
UITableViewCell
のインスタンスUILabelが作成され、プロパティに初めてアクセスしたときにコンテンツ ビューに追加されtextLabelます。通常、サブビューを自分で追加してコンテンツ ビューをカスタマイズするか、組み込みのtextLabel(オプションでdetailTextLabel) プロパティを使用します。
UILabel
detailTextLabel