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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:07:25+00:00 2026-05-30T17:07:25+00:00

I have a multi view app, to swap views I use: -(IBAction) goSecond{ [self

  • 0

I have a multi view app, to swap views I use:

-(IBAction) goSecond{
[self presentModalViewController:secondviewController animated:YES]

}

On this view I have a text field that the user will enter a number, but I con not get the keyboard to remove from the view. I have read several posts but can get this to work. I use:

-(IBAction) goAwayKey: (id) sender{
[sender resignFirstResponder];
}

-(IBAction) tapBack: (id) sender{
[textField1 resignFirstResponder];

}

In secondviewController.h I have

-(BOOL) disableAutomaticKeyboardDismissal;

and in secondviewController.m

-(BOOL) disableAutomaticKeyboardDismissal{

return NO;

}

I still cant get the keyboard to go away, is there anything obvious that I am missing?

Thanks for your help.

  • 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-30T17:07:27+00:00Added an answer on May 30, 2026 at 5:07 pm

    Theoretically,

     [textField1 resignFirstResponder];
    

    should work fair enough, are you sure that your methods are being called? Place a breakpoint in both methods to resign and check if they are called, that will give us some clues about your problem.

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

Sidebar

Related Questions

I'm working on a multiview app for iPhone and currently have my views (VIEW)
I have a multi view application with individual UIViewControllers and xibs. I have one
I have a multi threaded .NET app that uses async I/O and AsyncCallbacks to
I have a multi screen app that only the first button works. alll of
I have a multi-select listbox in a SL3 app using prism and I need
In my cakephp app I have an Option model. In my option/index view I
I'm developing a multi device App with separate views for iPhone and iPad. Within
let's say I'd like to have an image view in my app with zoom
I have a small multiview app. It consists of a UITabBarController with a nav
We have multi-part install that needs a reboot to continue. We added a RunOnce

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.