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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:14:36+00:00 2026-05-31T08:14:36+00:00

I was wondering if there is any possible way to enter text inside a

  • 0

I was wondering if there is any possible way to enter text inside a textfield on a website from an objective-c application, and then click a button. I basically want to put text into a textfield in the centre of a website page, and then click a button, without a web browser being open. If the page changes, I was planning to update the application to say that it was successful.

I was thinking to do something in reverse of downloading something. Could I reverse this code to download an image, so it uploads text into a textfield?

NSData * imageData = [[NSData alloc] initWithContentsOfURL: [NSURL URLWithString: @"http://myurl/mypic.jpg"]];
cell.image = [UIImage imageWithData: imageData];
[imageData release];

There is probably other things involved like using NSURLConnection and maybe NSURLResponse, which I can use (and have done before, only really simply), but I will need a bit of help if they are involved.

Im really not sure, and are there any search terms I might want to use for googling? The ones I come up with don’t seem to return any results.

Thanks in advance!

Ben

  • 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-31T08:14:38+00:00Added an answer on May 31, 2026 at 8:14 am

    I found out that I could just use Javascript to manipulate the website, using a WebView object.

    Just get the current scripting object:

    id currentScriptingObject = [webview windowScriptObject];
    

    Then implement javascript commands like this:

    [currentScriptingObject evaluateWebScript:@"javascript:void(someJavascriptCommand.run);"];
    

    Then use NSString‘s [NSString stringWithFormat:@"hello: %@", someString] for arguments.

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

Sidebar

Related Questions

I was wondering if there was any possible way to get the number (count)
Wondering if there is any way to get the lambda expressions that result from
I was wondering if there is any possible way to call functions in a
I was wondering if there was any way to create a FileInputStream object from
I was was wondering is there any possible way to call operators commands directly
I was wondering is there any possible way that I can have a webview
I'm wondering if there's any way to make the text of an unordered list
I was wondering if there is any way possible to put a String onto
I am wondering is there any way we can test the font size/color of
I am wondering is there any way to execute following shell script, which waits

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.