added iOS and hi res detection to resolve issue #1
Merge pull request #5 from davidamador/issue-1

added iOS and hi res detection to resolve issue #1