wait for ios orientation to finish (fix #1074)
Merge pull request #1093 from jlipps/master

wait for ios orientation to finish (fix #1074)