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

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

    [ https://issues.apache.org/jira/browse/CB-10931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15210121#comment-15210121 ] 

jcesarmobile commented on CB-10931:
-----------------------------------

Looks like an Apple bug

http://www.openradar.me/22896862


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