You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Iurii Kyian (JIRA)" <ji...@apache.org> on 2014/11/05 14:13:34 UTC
[jira] [Commented] (CB-2063) InAppBrowser - support iPad
presentation style, iOS transition styles
[ https://issues.apache.org/jira/browse/CB-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198343#comment-14198343 ]
Iurii Kyian commented on CB-2063:
---------------------------------
As for the current production version 0.5.3 the problem is not solved for iPad.
The simple solution will be to add in the file CDVInAppBrowser.m the copy of modalPresentationStyle into 'nav' controller in method
- (void)show:(CDVInvokedUrlCommand*)command
It will look like this:
CDVInAppBrowserNavigationController* nav = [[CDVInAppBrowserNavigationController alloc]
initWithRootViewController:self.inAppBrowserViewController];
nav.modalPresentationStyle = self.inAppBrowserViewController.modalPresentationStyle;
> InAppBrowser - support iPad presentation style, iOS transition styles
> ---------------------------------------------------------------------
>
> Key: CB-2063
> URL: https://issues.apache.org/jira/browse/CB-2063
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Priority: Minor
> Fix For: 2.4.0
>
>
> http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/ModalViewControllers/ModalViewControllers.html
> Through the __options__ parameter to window.open:
> * presentationstyle=fullscreen (default)
> * presentationstyle=pagesheet
> * presentationstyle=formsheet
> * transitionstyle=coververtical (default)
> * transitionstyle=fliphorizontal
> * transitionstyle=crossdissolve
--
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