Sunday, 24 April 2011

questino about the Edit button


i adding edit button top right corner of tool bar doing this
code:
  - (void)viewdidload  {      nslog(@"view did load");      [super viewdidload];      // initialize var        self.navigationcontroller.navigationbarhidden   = no;      self.navigationitem.hidesbackbutton                = no;        self.navigationitem.rightbarbuttonitem            = [self editbuttonitem];  }  
also, documentation indicated
code:
name:editbuttonitem - (uibarbuttonitem *)editbuttonitem  availability: ios (2.0 , later)  abstract: returns bar button item toggles title , associated state between edit , done.
however, when run program , try click on edit button. changed done each row of table not have red circle (-) before...

please guide me on issue.
 

have implemented method allows editing of uitableview?
 


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