Added IOS motion sensors support