SORU
6 Mayıs 2011, Cuma


Nasıl bir UİTableViewCell devre dışı görünür yapabilirim?

UITableview: How to Disable Selection for Some Rows but Not Others cell.selectionStyle = UITableViewCellSelectionStyleNone ama nasıl bir hücre (ya da bu konuda UIView) devre dışı (gri) aşağıda seviyor muyum?

disabled UITableViewCell

CEVAP
11 Kasım 2012, Pazar


Ayrıca sadece gri onlara hücrenin metin alanları dışında devre dışı bırakabilirsiniz

cell.userInteractionEnabled = NO;
cell.textLabel.enabled = NO;
cell.detailTextLabel.enabled = NO;

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Chip Johnson

    Chip Johnson

    30 AĞUSTOS 2007
  • Justin Schenck

    Justin Schen

    24 Kasım 2006
  • MofoHifi Records

    MofoHifi Rec

    15 HAZİRAN 2006