Skip to content

Instantly share code, notes, and snippets.

@bwsewell
Created August 23, 2012 13:36
Show Gist options
  • Save bwsewell/3436662 to your computer and use it in GitHub Desktop.
Save bwsewell/3436662 to your computer and use it in GitHub Desktop.
Modify User Agent in RubyMotion
# Modify UserAgent
NSUserDefaults.standardUserDefaults.registerDefaults({UserAgent: "my-custom-user-agent-name"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment