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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:30:39+00:00 2026-05-19T10:30:39+00:00

In my iPhone app, I have a table view. I want that when the

  • 0

In my iPhone app, I have a table view.

I want that when the user selects (or basically touches) on the cell of the tableview then he/she should be able to edit the cell contents.

How can I do that?

  • 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-19T10:30:40+00:00Added an answer on May 19, 2026 at 10:30 am

    @PARTH in order to make your UITableView cells editable i suggest u to give textfields to your cell….

    eg:- In

    -(UITableViewCell *)reuseTableViewCellWithIdentifier:(NSString *)identifier withIndexPath:(NSIndexPath *)indexPath {
    
    
        CGRect cellRectangle = CGRectMake (0, 10, 300, 70); 
        CGRect Field1Frame = CGRectMake (10, 10, 290, 70);
        UITableViewCell *cell = [[[UITableViewCell alloc] initWithFrame:cellRectangle reuseIdentifier:identifier] autorelease];
        UITextField *textField;
    
    
        //Initialize Label with tag 1.
    
        textField = [[UITextField alloc] initWithFrame:Field1Frame];
    
        textField.tag = 1;
        [cell.contentView addSubview:textField];
    
    [textField release];
        return cell;
    }
    

    and in your cellForRowAtIndexPath method // Configure the cell.

     UITextField *txtTemp = (UITextField *)[cell.contentView viewWithTag:1];
    

    use this where u want in your tableview accordingly otherwise hide it…..Hope it will help u!!

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

Sidebar

Related Questions

Basically, I want to have an app with only one view that has an
I have an iphone app that uses table view as the interface. Each time
I have an iPhone app that hides the status bar. However, my main view
I want to add a custom table to my iPhone app, that should look
For my iPhone app, I have an editable (for delete) table view. I'd like
I am writing an iPhone application and I have a table view that is
I have an iPhone app, where I'm displaying a tableview, that's loaded from an
In my iPhone app, I am having a grouped table view. I have used
I have a simple iphone app that's based on the CrashLanding sample app. So
I have an iPhone app that compiles and runs fine in the Simulator on

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.