+ added some support for iOS devices