Update README.md

This commit is contained in:
Лампуша 2015-01-19 17:43:03 +03:00
parent dc0f923689
commit 55f0b360cc

View File

@ -104,13 +104,25 @@ navigator.startApp.start([["action", "VIEW"], ["fb://facewebmodal/f?href=https:/
``` ```
Use **iOS** Use **iOS**
_Start application_
_Check iOS application for installed_
```js
navigator.startApp.check("twitter://", function(message) { /* success */
console.log(message); // => OK
},
function(error) { /* error */
console.log(error);
});
```
_Start iOS application_
```js ```js
navigator.startApp.start("twitter://", function(message) { /* success */ navigator.startApp.start("twitter://", function(message) { /* success */
console.log(message); // => OK console.log(message); // => OK
}, },
function(error) { /* error */ function(error) { /* error */
console.log('47', error); console.log(error);
}); });
``` ```