Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 569981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:21:10+00:00 2026-05-13T13:21:10+00:00

In my DetailViewController i have the code UPDATED x2 This is my setEditing –

  • 0

In my DetailViewController i have the code

UPDATED x2

This is my setEditing

- (void)setEditing:(BOOL)editing animated:(BOOL)animated {
    [super setEditing:editing animated:animated];
    [tableView setEditing:editing animated:YES];  //this line was added to force editing Mode
....

In my detailViewController I want to send tableView the ‘magic/whatever it is’ to register ‘editing mode’ to change the accessory, but I dont want to bring up the delete buttons. Previously I didnt have the line [tableView setEditing:editing animated:YES];, and so I only want it to bring up the accessory.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:21:10+00:00Added an answer on May 13, 2026 at 1:21 pm

    You should definitely fix this.

    When you create the table view cell (in tableView:cellForRowAtIndexPath:), set the accessoryType property to UITableViewCellAccessoryNone and the editingAccessoryType property to UITableViewCellAccessoryDisclosureIndicator.

    You do this instead of implementing the deprecated tableView:accessoryTypeForRowWithIndexPath: method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code in my table view controller (and delegate): - (void)tableView:(UITableView *)tableView
Here is the code: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { DrinkDetailViewController *detailViewController = [[DrinkDetailViewController
I have a tableView that's loosely based on the DetailViewController in ye olde SQLiteBooks.
i am having a problem with my application,.i have this code in my mainviewcontroller
I have to pass a value from one view-controller to another view-controller,my this code
All, I have a DetailViewController that has its class set to UIControl and there
i have an indexed tableview with 8 arrays like - (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView {
I have a problem with the splitviewcontroller. I have the code below and when
I currently have a TableView inside a NavigationController where when a item is selected
I have written a UITableView code in XCode. Once one of the cells is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.