cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mitchell Wagner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-4059) Unable to Customize layout of MainViewController.xib.
Date Mon, 01 Jul 2013 18:36:21 GMT

     [ https://issues.apache.org/jira/browse/CB-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mitchell Wagner updated CB-4059:
--------------------------------

    Description: 
Up to version 2.2, it was possible to customize the layout of MainViewController.xib in interface
builder, by adding a CDVCordovaView to the main view and connecting it proper IBOutlet. One
would then make the following changes; 


AppDelegate.m:
   self.viewController.webView.delegate = self.viewController;

AppDelegate.h:
   @property (nonatomic, strong) IBOutlet MainViewController* viewController;



This is broken in 2.3 and onward, including the current 2.9.0. 

For a live version of this working in a released app, see "IU Mobile" in app store. 

I'll attach screenshots in the comments on this Jira. 


  was:
Up to version 2.2, it was possible to customize the layout of MainViewController.xib in interface
builder, by adding a CDVCordovaView to the main view and connecting it proper IBOutlet. One
could then set the following in AppDelegate.m:

   self.viewController.webView.delegate = self.viewController;

This is broken in 2.3 and onward, including the current 2.9.0. 

For a live version of this working in a released app, see "IU Mobile" in app store. 

I'll attach screenshots in the comments on this Jira. 


    
> Unable to Customize layout of MainViewController.xib. 
> ------------------------------------------------------
>
>                 Key: CB-4059
>                 URL: https://issues.apache.org/jira/browse/CB-4059
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0
>         Environment: iOS SDK 6.1, 
> Mac OS X 10.8.4, 
> Xcode 4.6.3 (4H1503)
>            Reporter: Mitchell Wagner
>            Assignee: Shazron Abdullah
>         Attachments: File Owner's Connections.png, Results.png, UIWebView's Connections.png,
With WebView's Delegate set to Xib's File Owner..png
>
>
> Up to version 2.2, it was possible to customize the layout of MainViewController.xib
in interface builder, by adding a CDVCordovaView to the main view and connecting it proper
IBOutlet. One would then make the following changes; 
> AppDelegate.m:
>    self.viewController.webView.delegate = self.viewController;
> AppDelegate.h:
>    @property (nonatomic, strong) IBOutlet MainViewController* viewController;
> This is broken in 2.3 and onward, including the current 2.9.0. 
> For a live version of this working in a released app, see "IU Mobile" in app store. 
> I'll attach screenshots in the comments on this Jira. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message