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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:31:44+00:00 2026-06-15T17:31:44+00:00

I am designing an editable UITableViewCell * . In the normal state, my cell

  • 0

I am designing an editable UITableViewCell*. In the normal state, my cell should look like the portion of this image above the red line.

Table cell

When users click [Edit...], the controls letting the user change the settings will show up, and the text of the [Edit...] button will become [Done]. Clicking [Done] will hide the portion below the red line, and change the text on the button back to [Edit...].

I am trying to achieve this effect by changing the height of the row in the delegate. When the cell is in edit mode, it’s returning the full height; when the cell is not in edit mode, the height of the upper portion from the red line on is returned. Unfortunately, when I do that, the edit controls “slide up”, obscuring the rest of the cell. I am fixing this by making these controls invisible in the edit mode, but I think there should be a better solution.

Are there settings that I could apply to the controls in order to let me cut off the bottom, clipping the content below the red line?


* I am using Interface Builder to design my cell, in case it matters.

  • 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-15T17:31:44+00:00Added an answer on June 15, 2026 at 5:31 pm

    In your xib – just turn on the top strut

    enter image description here

    This is working for me. To make it smoothly expand and contract you’ll need to use the trick of an empty beginUpdates/endUpdates call

    [tableView beginUpdates];
    [tableView endUpdates];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

while designing my user control, i encountered the following problem: i would like to
Im designing my school's website and I kind of want to do like a
While designing a table my colleague here says that I should avoid identity column
This should be a very simple case, but I am pulling hair trying to
Is designing for Google Tv is different from tablet. What should I need to
When designing an application, at what point should the various layers (such as Presentation,
In designing of a (mini)language: When there are certain characters that should be escaped
When designing Android layouts there is often a question - should you sacrifice readability
Im designing a dialerPad form using Windows form, there is a textbox which should
When designing a new testing system, Should I keep tests in tree with the

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.