add support for ios6 supported rotation
Merge pull request #2 from fajarmf/master

Add autorotate support for ios6