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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:58:53+00:00 2026-06-02T06:58:53+00:00

I am testing an iOS app in the simulator from the keyboard and would

  • 0

I am testing an iOS app in the simulator from the keyboard and would like for the keyboard return key to make a button on the screen be pressed. Is there a way to do this? I can move between UITextField’s with the Tab key and capture the Return key through the textFieldShouldReturn method, but I have a submit button on the page also and would like to cruise through it without going to the mouse by firing it from the keyboard. If there is a way to move the focus to the button so that I can use a space-bar as suggested by KevinDTimm that would be great. Although I can move the focus through the UITextFields with the tab key I am just not sure how to get the focus onto the button – tab is not working at this point.

Thanks in advance

  • 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-02T06:58:55+00:00Added an answer on June 2, 2026 at 6:58 am

    From what I understand you effectively want to do an automated UI test. But in this case “you” are the automation. Thinking about it that way lead me to ios-automated-tests-with-uiautomation which may not solve your problem directly, but may be the path you should head down.

    This blog references Apples UI Automation Reference Collection which states:

    Use the UI Automation feature to write test scripts that exercise your
    app’s user interface elements as it runs on a connected device. You
    write the tests in JavaScript, calling the UI Automation API to
    simulate user interaction. The system returns log information to the
    host computer.

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

Sidebar

Related Questions

I am testing my app on SDK iOS Simulator to make sure it runs
I'd like to start doing limited beta testing of an iOS app. I know
I'm testing my app on the iOS simulator. I have two files of Localizable.strings
I am testing a Universal app (IOS 4.3) on both iPhone/iPad simulator. It has
Building an app using the Facebook iOS SDK. When testing on the simulator, I
I'm testing an iPhone app in both the simulator (XCode 3.2.3, iPhone SDK 4.0.1)
I want to see what happens in the iOS Simulator if I'm not testing
When testing our iOS app, my team and I need to disable SSL certificate
We have an app that has crashed on armv6 iOS devices coming from the
I downloaded latest XCode with iOS 4.2 version. When I'm testing any app in

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.