From 55f0b360ccc7638639c80d4b36d3bac216291e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B0=D0=BC=D0=BF=D1=83=D1=88=D0=B0?= Date: Mon, 19 Jan 2015 17:43:03 +0300 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b54ecd8..8e4ffe8 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,25 @@ navigator.startApp.start([["action", "VIEW"], ["fb://facewebmodal/f?href=https:/ ``` 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 navigator.startApp.start("twitter://", function(message) { /* success */ console.log(message); // => OK }, function(error) { /* error */ - console.log('47', error); + console.log(error); }); ```