Hello i'm tryng to switch to gyroscope inside my native iOs app.
i'm using this method
- (IBAction)gyroscopeBTN:(id)sender {
[_myWebView stringByEvaluatingJavaScriptFromString:@"switch(plugin[skin_gyro].enabled);"];
}
but nothing happens?
Is this the right javascript to activate the gyro?
Ty