You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jacob Weber (JIRA)" <ji...@apache.org> on 2016/03/22 20:42:25 UTC

[jira] [Created] (CB-10931) InAppBrowser context menu doesn't work on iOS 9

Jacob Weber created CB-10931:
--------------------------------

             Summary: 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: iOS, 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
            Priority: Minor


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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org