Merged in develop (pull request #1)

fixed problems with iPhone lack of compatibility. (Thankyou @Phil
Servati for reporting the problem)