[
https://issues.apache.org/jira/browse/CB-10931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikhil Khandelwal updated CB-10931:
-----------------------------------
Component/s: (was: iOS)
> InAppBrowser context menu doesn't work on iOS 9
> -----------------------------------------------
>
> Key: CB-10931
> URL: https://issues.apache.org/jira/browse/CB-10931
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin InAppBrowser
> Affects Versions: 1.3.0
> Environment: InAppBrowser 1.3.0
> Cordova iOS Engine 4.1
> Xcode 7.2.1
> Mac OS 10.11.3
> Reporter: Jacob Weber
> Assignee: jcesarmobile
> Priority: Minor
> Labels: iOS, triaged
> Attachments: menu.png
>
>
> If you open an InAppBrowser on iOS 8 and press and hold on a link, it will
> show a context menu with items like Open and Copy. If you do the same on iOS
> 9, the menu doesn't appear.
> Tested on iPad Air simulator with iOS 8.4 and 9.2:
> * Create an app with the CLI.
> * Add to config.xml:
> {code}
> <engine name="ios" spec="~4.1.0" />
> <plugin name="cordova-plugin-whitelist" spec="1" />
> <plugin name="cordova-plugin-inappbrowser" spec="~1.3.0" />
> {code}
> * Run "cordova prepare".
> * Open project in Xcode.
> * Run in simulator.
> * Inspect in Safari, and run in console:
> {code}
> window.open("https://www.google.com", "_blank")
> {code}
> * In simulator, press and hold on a link.
> * With the iOS 8.4 simulator, the context menu appears (see attachment).
> * With the iOS 9.2 simulator, nothing appears. In the Xcode console, you see
> a warning:
> {code}
> Warning: Attempt to present <UIWebRotatingAlertController: 0x7fd95c8ae600> on
> <MainViewController: 0x7fd95af22cc0> whose view is not in the window
> hierarchy!
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]