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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:35:32+00:00 2026-06-04T04:35:32+00:00

Pretend you have a button on an iOS GUI. Pressing this button should now

  • 0

Pretend you have a button on an iOS GUI. Pressing this button should now trigger a button on a webpage (which triggers an action). While doing this, the webpage should not be visible. How can I do that?

My guess is, that I read and parse the webpage, and if I’ve found the button action, I would trigger it somehow. Since I’m not a web programmer, I wonder how to proceed or read on for such a task.

I need this task, because there is no JSON or XML webservice on the page that would make life easier.

Many thanks for any input

  • 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-04T04:35:33+00:00Added an answer on June 4, 2026 at 4:35 am

    Okay, let’s say you’ve already loaded your webpage in an off-screen (or hidden) UIWebView, and the submit button on that webpage looked a bit like the following in code:

    <form id="my_submit_button" etc... >
    

    Just call the following:

    NSString* javascript = @"document.forms['my_submit_button'].submit();";
    [myUIWebView stringByEvaluatingJavaScriptFromString: javascript];
    

    Hope this helps!

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

Sidebar

Related Questions

I have been digging around on this site and googling for a while now
I have a form that on action: action=javascript:DoWallInsert($idf );.. Now on this form i
i have a form, which you can pretend is laid out like Windows Explorer:
I have a page like this: <form class=ajax method=post action=add_item.php> [text input] [submit button]
Let's say I have a file like this (pretend it were a matrix): abcde
I have a Git repository which contains a number of subdirectories. Now I have
I have created a javascript in which when we click Add button, it adds
Let's pretend I have a large recipe-database. A table for recipes each with an
Possible Duplicate: Prepend lines to file in Java I have a CSV-file which supports
I have a button with remote=>true that calls a popup (a jquery popup, not

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.