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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:12:38+00:00 2026-05-15T13:12:38+00:00

I have a UITableView with 2 sections in it. I have enabled rearranging in

  • 0

I have a UITableView with 2 sections in it. I have enabled rearranging in my table view, but I have a strange problem.

I do not want the user to be able to rearrange rows between sections (I only want users to be able to rearrange rows within their section). If I try to drag a row from the first section to the second section, it will not allow me, which is what I want. If I drag a row from the second section to the first section, it WILL let me, which I do not want.

Is this a bug in Apple’s frameworks or is this actually how it is supposed to behave, and how can I get the behaviour I want?

EDIT: I’m experiencing some inconsistencies here. Earlier I was unable to drag a row from the first to the second section but now I can. How do I disable rearranging between sections?

  • 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-15T13:12:39+00:00Added an answer on May 15, 2026 at 1:12 pm

    I’m not aware of a specific bug, but have you been overriding tableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath: explicitly to check the section the row is being attempted to move into? Maybe you’re not and the default behavior just happens to work one way and not the other?

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

Sidebar

Related Questions

So, i have a UITableView split in 3 sections. I want to be able,
I have a grouped UITableView where not all sections may be displayed at once,
Here is the deal: I have a UITableView with 2 sections, and I want
I have a UITableView with custom UITableViewCells. The table has two sections, the first
I have a UITableView with multiple sections, and I want to make only one
I have a grouped UITableView with some sections (with an header title). I want
I have one problem with two sections in UITableview grouped style. First section having
I have 2 sections in my UITableView. I want the 2nd section to be
I'm faced with a small problem. I have a UITableView with 2 sections: folders
I have my UITableView data organized such that the sections of the table are

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.