Xcode Tutorial: Inject Javascript Into Web View

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,128
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 12, 2011

Learn how to inject lines of Javascript into your web view in Xcode.

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • Hi, i'm trying to inject two NSUserdefaults into Username and a password field of a website in a webview. How can i do that?

    The fields:

    input class= "input" type="text" size="10" maxlenght="50" name="frmLoginMemberID" value=""

    input class= "input" type="password" size="10" maxlenght="50" name="frmLogin2" value=""

    username.text = [[NSUserDefaults standardUserDefaults] objectForKey:@"usernamekey"]; password.text = [[NSUserDefaults standardUserDefaults] objectForKey:@"passwordkey"];

  • good tutorial , does work , except the alert , its telling me e.g. htt p:// youtube. com

    undefined please help

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more