Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Objective-C and Swift
  4. Launch Safari from another app then Autofill username and password

Launch Safari from another app then Autofill username and password

Scheduled Pinned Locked Moved Objective-C and Swift
iosdesignquestion
3 Posts 3 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    picardy
    wrote on last edited by
    #1

    Is it possible to design an iPad app that launches Safari, waits until a dialog box appears in Safari and then activates a button. Waits until another dialog box appears and then automatically completes the username and password in Safari and finally the app closes itself? I cannot use Autofill as the website that Safari has accessed does not allow saving passwords. An analogy would be Safari automatically connecting to one's banks website that does not allow saving username and passwords. This is an app I am trying to develop for visually impaired people for easy login access to the local library. All constructive comments are welcome.

    D C 2 Replies Last reply
    0
    • P picardy

      Is it possible to design an iPad app that launches Safari, waits until a dialog box appears in Safari and then activates a button. Waits until another dialog box appears and then automatically completes the username and password in Safari and finally the app closes itself? I cannot use Autofill as the website that Safari has accessed does not allow saving passwords. An analogy would be Safari automatically connecting to one's banks website that does not allow saving username and passwords. This is an app I am trying to develop for visually impaired people for easy login access to the local library. All constructive comments are welcome.

      D Offline
      D Offline
      Dennis E White
      wrote on last edited by
      #2

      To the best of my knowledge the short answer is no. If it were possible then I highly doubt that you would be able to get this released into the Store because of the privacy concerns that something like this could create. If this is your app and web site then there are other alternatives available for you to try. From your app you could launch a website and pass in parameters via the url. Then on your website have some javascript that runs and takes care of what remains. Though of course you will have the issue of passing passwords as free text via the url. Definitely requires some more more thought but alas that is for another thread. :-D

      1 Reply Last reply
      0
      • P picardy

        Is it possible to design an iPad app that launches Safari, waits until a dialog box appears in Safari and then activates a button. Waits until another dialog box appears and then automatically completes the username and password in Safari and finally the app closes itself? I cannot use Autofill as the website that Safari has accessed does not allow saving passwords. An analogy would be Safari automatically connecting to one's banks website that does not allow saving username and passwords. This is an app I am trying to develop for visually impaired people for easy login access to the local library. All constructive comments are welcome.

        C Offline
        C Offline
        C3D1
        wrote on last edited by
        #3

        to my knowledge this is not possible. I saw some password tools (like 1Password, LastPass) on the appstore that opens up a website on an internal browser and then fill in the username and password. But to my knowledge apple doesen't allow IPC between most of the Apps. The only place where Apps are communicating is AppleHealth where 3th party apps could write to AppleHealth. If you find a way to opening up safari and then fill in the user and password boxes i'm extremly interested in the solution! :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups