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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:35:35+00:00 2026-05-24T09:35:35+00:00

I have the following problem: I got a UIViewController and it contains a textfield

  • 0

I have the following problem:

I got a UIViewController and it contains a textfield and a tableview. I push the view from another one, so that I got a navigationbar on top. I enabled the edit-button, and navigation also works fine.
What my problem is:
-the edit button is not working. I was looking through here, but I couldn’t get it fixed
-when I enter data in to the textfield, the tableview gets the data, reloading is working, but it doesn’t show any animation, and no rows are added …

-(BOOL)textFieldShouldReturn:(UITextField *)textField{
[controller insertCostumer:textField.text];

[textField resignFirstResponder];
[tabViewitem reloadData];

NSIndexPath *indexPath = [NSIndexPath indexPathForRow:controller.sizeOfNavi+1 inSection:1];
NSMutableArray *arr = [[NSMutableArray alloc]init];
[arr addObject:indexPath];

[tabViewitem insertRowsAtIndexPaths:arr withRowAnimation:UITableViewRowAnimationTop];
return YES;

}

This is my textfieldshouldreturn method, I also tried out textfieldshouldendediting and textfielddidendediting and so on 🙂
Hope somebody has any clue how to do it.

  • 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-24T09:35:36+00:00Added an answer on May 24, 2026 at 9:35 am

    I have no direct solution but I think I found a useful link for you:
    http://www.iphonedevsdk.com/forum/iphone-sdk-development/11315-textfieldshouldreturn-not-called-probrem.html

    This person has some problems to while calling the ‘textFieldShouldReturn’ method.

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

Sidebar

Related Questions

I have the following problem: I got a view with two text fields and
I've got a problem that I'm rather confused about. I have the following lines
I have the following problem: I've got a website that can't have dependencies to
I have the following problem. I got a bat file that runs testcomplete test.
I've got the following problem: I have a table with long/lat values and another
I've got the following problem: I have a set of LI elements that have
I have got the following problem since the server has safe mode turned on,
I've got the following problem: I have two tables: (simplified) +--------+ +-----------+ | User
i have got the following problem: I want to create a new Liferay Theme
I've got the following problem: I have rhtml (html minced together with ruby inside

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.