mirror of
https://github.com/lampaa/com.lampa.startapp.git
synced 2026-05-20 00:01:31 +08:00
Update README.md
This commit is contained in:
@@ -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);
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user