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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:13:32+00:00 2026-06-08T02:13:32+00:00

In running my program, a basic chat app which i’m writing to learn ios,

  • 0

In running my program, a basic chat app which i’m writing to learn ios, i noticed different results with:

[self._inputBox  resignFirstResponder];

vs

[sender  resignFirstResponder];

i have this ibaction:

- (IBAction)_sendText:(id)sender

which is called on hitting the send button. its also called on enter as that ibaction calls the same ibaction as the send button.

Now on the iphone which i just supported tonight ( it’s a one view now i have both a view on my ipad storyboard and my ipod and wired the ipad actions to the ipod storyboard tonight) for clicking the send button which is wired to this ibaction, self.inputBox calling resignFirstResponder works but sender resignFirstResponder did not work. I have a friend who is testing and he was the one who found it didn’t work on his ipod. I have only run it in the simulator and both worked there.

Mike

  • 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-08T02:13:34+00:00Added an answer on June 8, 2026 at 2:13 am

    If a “Send” button is connected to your _sendText: action and you click that button, then the button is the sender and not your text input field, therefore [sender resignFirstResponder] will not have the desired effect.

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

Sidebar

Related Questions

I now have a running Java program which only lacks of the final step,that
How would I open a program within Visual Basic 2010? (Like running Application.txt from
I wrote a program about 10 years ago in Visual Basic 6 which was
I'm trying to compile the basic tutorial program at http://doc.trolltech.com/4.4/mainwindows-application.html and running into a
I am following a basic hibernate tutorial. The tutorial program is running & showing
when I'm running my app on ipad1 I see different result then when I'm
I'm writing a program for my visual basic class that computes the prices of
I have one .net application which would be installed under program files running in
I'm coding a program which simply understands basic keywords such as 'left' or 'right'.
I'm new to C# and have created a basic program that I'm running through

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.