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 7867563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:44:36+00:00 2026-06-03T00:44:36+00:00

Could you please help me. I need to perform editing cells. The editing should

  • 0

Could you please help me. I need to perform editing cells. The editing should look like:
when I press a barButtonItem (the right one on the nav bar) the content of cells should slightly move to the right and checkboxes should appear. The user should be able to select several cells and commit editing by clicking on the same navButton.
I’ve tried to use standard editing but I can’t figure out how:
– to select multiple cells and only then commit editing
– how to set commit action to navButton but not to red delete button which appears next to each selected cell

  • 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-06-03T00:44:36+00:00Added an answer on June 3, 2026 at 12:44 am

    Multi-selection is regarded as one of the editing style. Therefore, to make a cell multi-selectable, implement this in your UITableViewDelegate:

    -(UITableViewCellEditingStyle)tableView:(UITableView*)tableView editingStyleForRowAtIndexPath:(NSIndexPath*)indexPath {
      ...
      return 3;
    }
    

    The “3” here means multiselection. The result is like this:

    enter image description here

    To get the selected rows, call the

    -indexPathsForSelectedRows method on the table view.
    NSArray* selectedRows = [tableView indexPathsForSelectedRows];
    

    If you dislike the red check mark, you can use the undocumented multiselectCheckmarkColor property to change it. Unfortunately, it has to be applied on the whole table.

    tableView.multiselectCheckmarkColor = [UIColor blueColor];
    

    The light blue background color cannot be changed unless you subclass or categorize

    UITableViewCell and override the -_multiselectBackgroundColor method, like this:
    -(UIColor*)_multiselectBackgroundColor { return [UIColor yellowColor]; }
    

    Hope, this will help you..

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

Sidebar

Related Questions

Could you please help me with this one: In one of my scripts I
I need to fix the following, could please help me? $return .= <a href='<?php
Could someone please help me with this? I need to convert an nchar column
I need UI thread dump for Eclipse RCP application. Could you please help on
Could you please help me with such converting I have NSString date like @2/8/2012
Could someone please help with the following jQuery I need all jQuery UI buttons
Could you please help me with an opposite issue? I need to close a
greetings, could you please help? i need to get a variable (name) in string
Could someone please help me out with this. I need to find the gml:pos
all! Could someone please help me to solve such a task. I need to

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.