mirror of
https://github.com/lampaa/com.lampa.startapp.git
synced 2024-10-06 15:52:06 +08:00
Update README.md
This commit is contained in:
parent
dc0f923689
commit
55f0b360cc
16
README.md
16
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);
|
||||
});
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user