Search code examples
objective-ciosios5screen-scrapingweb-scraping

How to simulate a click in a webpage in iOS with objective-C


I'm looking for an equivalent of Mechanize (Ruby/python and more) for iOS.

I need to simulate a click in a webpage (form submission) and get the response back. I tried to construct a POST-request using ASIHTTPRequest without succes. I was able to create a solution in Ruby (with Mechanize) but I want to be able to do the same in objective-c for iphone development. Any suggestions ?


Solution

  • As described in the duplicated posts, the API to programmatically simulate touches is private, so not appropriate for a shipping app. Follow the links if you want to know how to do it anyway.