How to Launch an iOS native app from the current native app
In Objective C I can write like
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"SomeApp"]]
How can I achieve the same in JavaScript
?
var window = UIATarget.localTarget().frontMostApp().mainWindow();
Above code uses UIATarget
,Is it possible to access the UI elements of the new app as it was launched from another app. I think it might not be possible,but I would like to use it for testing and I don't want to use Jail breaking.
If that can be done in JavaScript
, Could somebody provide pointers on this ?
In Android, using some frameworks we can access the UI elements of any Application.
Is it feasible in iOS ?