Skip to content

Commit

Permalink
Docs: Remove iOS info from Android Plugin docs (#1647)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jun 7, 2019
1 parent dc16b19 commit a8339c6
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions site/docs-md/plugins/android.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,19 +150,6 @@ protected void handleOnActivityResult(int requestCode, int resultCode, Intent da
}
```

To access the Capacitor's View Controller, we have to use the `CAPBridge` object available on `CAPPlugin` class.

We can use the `UIViewController` to present Native View Controllers over it like this:

`self.bridge.viewController.present(ourCustomViewController, animated: true, completion: nil)`

On iPad devices you can also present `UIPopovers`, to do so, we provide a helper function to show it centered.

```swift
self.setCenteredPopover(ourCustomViewController)
self.bridge.viewController.present(ourCustomViewController, animated: true, completion: nil)
```

### Events

Capacitor Plugins can emit App events and Plugin events
Expand Down

0 comments on commit a8339c6

Please sign in to comment.