Sunday, 23 March 2014

HELP! tableView:accessoryTypeForRowWithIndexPath


code:
- (uitableviewcellaccessorytype)tableview:(uitableview *)tv accessorytypeforrowwithindexpath:(nsindexpath *)indexpath  {      //return uitableviewcellaccessorydetaildisclosurebutton;      //return uitableviewcellaccessorydisclosureindicator;      return uitableviewcellaccessorynone;  }
how do this?
appreciated.
 

set property on cell in cellforrowatindexpath method , remove old method doesn't like.

code:
cell.accessorytype = uitableviewcellaccessorynone;
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment