title: Loading JS script for only iOS devices?
body: <p>I have a jQuery script I'm using on a site to allow fixed position background images on iPhone/iPad/iPod. However it seems to be clashing with another script I am using on the site that enlarges background images full screen. Luckily they're independent of each other, I don't need the clashing background image script to work on iOS devices and vice versa.</p>
  
  <p>Is there a way I can specifically target IOS devices to serve a JS file? I initially thought about using some kind of IF statement and doing it on window size but that started to get a bit complicated and affects other non-IOS devices. It just needs to run something like this...</p>
  
  <p>..."if IOS device then load scroll.js"</p>
  
  <p>I know device/browser sniffing is frowned upon but I can't think of another way around this problem.</p>